Constructs a matrix containing the input variables values re-ordered so as to have the desried correlations.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public DoubleMatrix GetCorrelatedInputs(
	DoubleMatrix inputs
)
Visual Basic (Declaration)
Public Function GetCorrelatedInputs ( _
	inputs As DoubleMatrix _
) As DoubleMatrix
Visual C++
public:
DoubleMatrix^ GetCorrelatedInputs(
	DoubleMatrix^ inputs
)

Parameters

inputs
Type: CenterSpace.NMath.Core..::.DoubleMatrix
The the inputs to correlate. Each row is an input value.

Return Value

the input variables values, one per row, re-ordered so as to have the desried correlations.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if the number of input variables is not equal to the number of input variables in the specified correlations matrix. That is, the number of columns in inputs must be equal to the number of columns in the specified correlation matrix.

See Also