Method

NumCosmoMathComplexset

Declaration [src]

void
ncm_complex_set (
  NcmComplex* c,
  const gdouble a,
  const gdouble b
)

Description [src]

Sets c to $a + I b$.

Parameters

a

Type: const gdouble

The real part $a$.

b

Type: const gdouble

The imaginary part $b$.