| DoublePCA(DoubleMatrix, Boolean, Boolean) Constructor |
Constructs a DoublePCA instance from the given data,
optionally centering and scaling the data before analysis takes place.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoublePCA(
DoubleMatrix data,
bool center,
bool scale
)
Public Sub New (
data As DoubleMatrix,
center As Boolean,
scale As Boolean
)
public:
DoublePCA(
DoubleMatrix^ data,
bool center,
bool scale
)
new :
data : DoubleMatrix *
center : bool *
scale : bool -> DoublePCA
Parameters
- data DoubleMatrix
-
A matrix containing the data. Each column represents a variable; each
row an observation.
- center Boolean
-
A boolean value indicating whether the variables should be
shifted to be zero-centered before analysis takes place.
- scale Boolean
-
A boolean value indicating indicating whether the variables should be
scaled to have unit variance before analysis takes place.
See Also