TransformationModel<T>.TransformInto Method

Definition

Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

TransformInto(Matrix<Double>, Matrix<Double>) Applies the transformation to a set of observations.
TransformInto(Vector<Double>, Vector<Double>) Applies the transformation to a single observation.

TransformInto(Matrix<Double>, Matrix<Double>)

Applies the transformation to a set of observations.
C#
public virtual Matrix<double> TransformInto(
	Matrix<double> input,
	Matrix<double>? output
)

Parameters

input  Matrix<Double>
The observations to transform.
output  Matrix<Double>
The matrix that is to hold the result of the transformation. May be null.

Return Value

Matrix<Double>
A matrix that contains the transformed values.

TransformInto(Vector<Double>, Vector<Double>)

Applies the transformation to a single observation.
C#
public abstract Vector<double> TransformInto(
	Vector<double> input,
	Vector<double>? output
)

Parameters

input  Vector<Double>
The observation to transform.
output  Vector<Double>
The vector that is to hold the result of the transformation. May be null.

Return Value

Vector<Double>
A matrix that contains the transformed values.

See Also