CurveFitter<T>.Scale Method

Definition

Namespace: Numerics.NET.Curves.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.0

Overload List

Scale(DenseVector<T>) Scales the components of a vector using the values from ScaleVector.
Scale(Vector<T>) Scales the components of a vector using the values from ScaleVector.

Scale(DenseVector<T>)

Scales the components of a vector using the values from ScaleVector.
C#
protected void Scale(
	DenseVector<T> vector
)

Parameters

vector  DenseVector<T>
A dense vector.

Exceptions

ArgumentNullExceptionvector is null.

Scale(Vector<T>)

Scales the components of a vector using the values from ScaleVector.
C#
protected Vector<T> Scale(
	Vector<T> vector
)

Parameters

vector  Vector<T>
A vector.

Return Value

Vector<T>
A reference to the scaled vector.

Exceptions

ArgumentNullExceptionvector is null.

See Also