Constructor

NumCosmoMathMatrixnew_data_static_tda

Declaration [src]

NcmMatrix*
ncm_matrix_new_data_static_tda (
  gdouble* d,
  const guint nrows,
  const guint ncols,
  const guint tda
)

Description [src]

This function returns a NcmMatrix of the array d with a physical number of columns tda which may differ from the corresponding dimension of the matrix. The matrix has nrows rows and ncols columns, and the physical number of columns in memory is given by tda.

This constructor is not directly available to language bindings.

Parameters

d

Type: gdouble*

Pointer to the first double allocated.

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

Type: const guint

Number of rows.

ncols

Type: const guint

Number of columns.

tda

Type: const guint

Physical number of columns which may differ from the corresponding dimension of the matrix.

Return value

Type: NcmMatrix

A new NcmMatrix.

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