Method

NumCosmoMathCatalogget_index

Declaration [src]

gboolean
ncm_catalog_get_index (
  NcmCatalog* catalog,
  const gchar* col,
  guint* i
)

Description [src]

Gets the column index from the column name.

Parameters

col

Type: const gchar*

A column name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
i

Type: guint*

A pointer to store the column index.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if the column was found, FALSE otherwise.