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.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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.