Method
NumCosmoMathMatrixsquare_to_sym
Declaration [src]
void
ncm_matrix_square_to_sym (
NcmMatrix* cm,
gchar NT,
gchar UL,
NcmMatrix* sym
)
Description [src]
Computes the symmetric matrix $M^\intercal \times M$ if
NT == ‘T’ or $M\times M^\intercal$ if NT == ‘N’. The result
is stored in the upper/lower triangle if UL=’U’/’L’.
Parameters
NT-
Type:
gcharChar indicating ‘N’ or ‘T’.
UL-
Type:
gcharChar indicating ‘U’pper or ‘L’ower matrix.
sym-
Type:
NcmMatrixA
NcmMatrixto store the result.The data is owned by the caller of the method.