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: gchar

Gchar indicating ‘U’pper or ‘L’ower matrix.

alpha

Type: const gdouble

A constant gdouble.

A

Type: NcmMatrix

A NcmMatrix.

The data is owned by the caller of the method.
B

Type: NcmMatrix

A NcmMatrix.

The data is owned by the caller of the method.
beta

Type: const gdouble

A constant gdouble.