Struct

NumCosmoMathDTuple2

Description [src]

struct NcmDTuple2 {
  gdouble elements[2];
}

A 2-dimensional tuple of double precision floating point numbers.

In this module we define the NcmDTuple2 which are fixed sized arrays of double values.

Structure members
elements: gdouble

The elements of the tuple.

Constructors

ncm_dtuple2_new

Creates a new NcmDTuple2.

ncm_dtuple2_new_from_variant

Creates a new NcmDTuple2 from a GVariant. The GVariant must be of type #NCM_DTUPLE2_TYPE.

Functions

ncm_dtuple2_clear

If *dt2 is not NULL, frees it and sets it to NULL.

Instance methods

ncm_dtuple2_copy

Creates a new NcmDTuple2 with the same values of dt2.

ncm_dtuple2_free

Frees a NcmDTuple2.

ncm_dtuple2_serialize

Serializes a NcmDTuple2.