Constructor

NumCosmoMathMatrixconst_new_variant

Declaration [src]

const NcmMatrix*
ncm_matrix_const_new_variant (
  GVariant* var
)

Description [src]

Creates a new constant matrix using the same memory of var.

Parameters

var

Type: GVariant

A variant of type “aad”.

The data is owned by the caller of the function.

Return value

Type: NcmMatrix

A NcmMatrix with the values from var.

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