Constructor

NumCosmoMathMatrixnew_variant

Declaration [src]

NcmMatrix*
ncm_matrix_new_variant (
  GVariant* var
)

Description [src]

Creates a new matrix using the values from 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.