Method

NumCosmoMathMatrixdtrmm

Declaration [src]

void
ncm_matrix_dtrmm (
  NcmMatrix* cm,
  gchar Side,
  gchar UL,
  gchar TransA,
  const gdouble alpha,
  NcmMatrix* A
)

Description [src]

Sets $B \to \alpha\,\mathrm{op}(A)\,B$ for Side ‘L’, or $B \to \alpha B\,\mathrm{op}(A)$ for ‘R’. Only the UL triangle of $A$ is read, its diagonal taken as stored.

Parameters

Side

Type: gchar

‘L’ or ‘R’, the side $A$ acts from.

UL

Type: gchar

‘U’ or ‘L’, whether $A$ is upper or lower triangular.

TransA

Type: gchar

‘N’ or ‘T’, whether to transpose $A$.

alpha

Type: const gdouble

$\alpha$.

A

Type: NcmMatrix

A triangular NcmMatrix $A$.

The data is owned by the caller of the method.