Virtual Method

NumCosmoMathPowspeceval

Declaration [src]

gdouble
eval (
  NcmPowspec* powspec,
  NcmModel* model,
  const gdouble z,
  const gdouble k
)

Description [src]

Evaluates the power spectrum powspec at $(z, k)$.

Parameters

model

Type: NcmModel

A NcmModel.

The argument can be NULL.
The data is owned by the caller of the method.
z

Type: const gdouble

Time $z$.

k

Type: const gdouble

Mode $k$.

Return value

Type: gdouble

$P(z, k)$.