DenseVector<T, TStorage>.SubtractAsLeftCore Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

SubtractAsLeftCore(T, Vector<T>) Subtracts a constant from a vector.
SubtractAsLeftCore(Vector<T>, Vector<T>) Subtracts one vector from another.

SubtractAsLeftCore(T, Vector<T>)

Subtracts a constant from a vector.
C#
protected override Vector<T> SubtractAsLeftCore(
	T value,
	Vector<T>? result
)

Parameters

value  T
The constant.
result  Vector<T>
The vector that is to hold the result. May be null.

Return Value

Vector<T>
A vector whose elements are the difference between the corresponding elements of this vector and value.

See Also