CurveFitter.Scale Method

Definition

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

Overload List

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

Scale(DenseVector<Double>)

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

Parameters

vector  DenseVector<Double>
A dense vector.

Exceptions

ArgumentNullException

vector is null.

Scale(Vector<Double>)

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

Parameters

vector  Vector<Double>
A vector.

Return Value

Vector<Double>
A reference to the scaled vector.

Exceptions

ArgumentNullException

vector is null.

See Also