Constructor

NumCosmoMathReparamLinearnew

Declaration [src]

NcmReparamLinear*
ncm_reparam_linear_new (
  guint size,
  NcmMatrix* T,
  NcmVector* v
)

Description [src]

Creates a new reparametrization using the parameters transformation matrix T and the shift vector v, i.e., the new parameters vector $\vec{p}_n$ is given by $\vec{p}_n = T\cdot{}\vec{p} + \vec{v}$, where $p$ are the old parameters vector.

Parameters

size

Type: guint

Model’s length.

T

Type: NcmMatrix

A NcmMatrix.

The data is owned by the caller of the function.
v

Type: NcmVector

A NcmVector.

The data is owned by the caller of the function.

Return value

Type: NcmReparamLinear

A new NcmReparamLinear.

The caller of the function takes ownership of the data, and is responsible for freeing it.