Inherits tngmath::Matrix.
Libraries | |
AutoSpectrum | |
ColWise | |
CrossSpectrum | |
CWise | |
operator= | |
The assignment operator for MathArrayBase<TScalar>. | |
RowWise | |
Wave | |
calls Wave with jtot=number_of_rows/2 | |
XMatrix | |
constructs a matrix and allocates nrow*ncol elements | |
~XMatrix | |
destructor |
For most users which do not look at compatbility and efficiency, this data type is the basic choice. XMatrix extends Matrix by a lot of convenience methods from statistics, linear algebra, Fourier analyses, etc.
XMatrix has been split into 2 types due to developing reasons. Matrix does not depend on external packages (it provides simple operations), whereas XMatrix requires third-party libraries. Therefore, most TNG modules will export their data as Matrix. If the user wants to use the extended functionality he must convert it into a XMatrix.
developers note: For compatibility reasons with Matrix, all input parameters are of type 'Matrix' (then both, Matrix and XMatrix, are allowed) and all output parameters are of type 'XMatrix' (for subsequent operations)
[Library] |
returns the Cholesky decomposition of the parent matrix, i.e. the parent matrix must be real symmetric and positive definite.
[Library] |
returns the covariance matrix of the parent array weighted by a parameter.
ar |
[Library] |
[Library] |
a symmetric (upper triangular) Eigen decomposition object
a generalized symmetric Eigen decomposition object
returns the matrix exponential of the parent matrix
dt | denotes the exponent. |
returns the inverse of a square parent matrix.
returns the inverse of the parent matrix if it is complex
returns the mean of the parent array whereby it is weighted by the given parameter.
ar | is a vector with same number of rows as the parent array. Every row of the parent array will be weighted by the corresponding item of ar divided by the elementwise sum of ar . |
[Library] |
returns the standard deviation as the square root of the covariance
ar | denotes the array of which Covariance(ar) |
returns the solution of a linear system of equations with given right hand side vector. Solves where is unknown.
rhs | denotes the vector |