Method

NumCosmoMathMatrixdsyrk

Declaration [src]

void
ncm_matrix_dsyrk (
  NcmMatrix* cm,
  gchar UL,
  gchar Trans,
  const gdouble alpha,
  NcmMatrix* A,
  const gdouble beta
)

Description [src]

Sets $C \to \alpha A A^\intercal + \beta C$ for Trans ‘N’, or $C \to \alpha A^\intercal A + \beta C$ for ‘T’. Only the UL triangle of $C$ is written.

Parameters

UL

Type: gchar

‘U’ or ‘L’, the triangle of $C$ updated.

Trans

Type: gchar

‘N’ or ‘T’.

alpha

Type: const gdouble

$\alpha$.

A

Type: NcmMatrix

A NcmMatrix $A$.

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

Type: const gdouble

$\beta$.