Method
NumCosmoMathMatrixdsymm
Declaration [src]
void
ncm_matrix_dsymm (
NcmMatrix* cm,
gchar UL,
const gdouble alpha,
NcmMatrix* A,
NcmMatrix* B,
const gdouble beta
)
Description [src]
This function performes the following operation:
if UL == ‘U’: $\left( \mathsf{cm} \leftarrow \alpha \mathbf{A} \mathbf{B} + \beta \, \mathsf{cm} \right)$;
if UL == ‘L’: $\left( \mathsf{cm} \leftarrow \alpha \mathbf{B} \mathbf{A} + \beta \, \mathsf{cm} \right)$.
Where $\mathbf{A} = \mathbf{A}^\intercal$.
Parameters
UL-
Type:
gcharGchar indicating ‘U’pper or ‘L’ower matrix.
alpha-
Type:
const gdoubleA constant gdouble.
A-
Type:
NcmMatrixA
NcmMatrix.The data is owned by the caller of the method. B-
Type:
NcmMatrixA
NcmMatrix.The data is owned by the caller of the method. beta-
Type:
const gdoubleA constant gdouble.