Vector<T>.DifferenceCore Method

Computes the forward or backward difference of a vector.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
protected virtual Vector<T> DifferenceCore(
	int lag,
	Vector<T>? result
)

Parameters

lag  Int32
The distance between elements to difference.
result  Vector<T>
The vector that is to hold the result. May be null.

Return Value

Vector<T>

See Also