Vector<T>.Difference Core Method
Computes the forward or backward difference of a vector.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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.