Click or drag to resize

VectorTSubtractFrom(T, VectorT) Method

Subtracts each element of the vector from a scalar and stores the result in the result vector.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void SubtractFrom(
	T scalar,
	Vector<T> result
)

Parameters

scalar  T
The scalar to subtract from.
result  VectorT
The vector to store the result of the subtraction.
Exceptions
ExceptionCondition
ArgumentExceptionIf this vector and result are not the same size.
See Also