Class
NumCosmoMathISet
Description [src]
final class NumCosmoMath.ISet : GObject.Object
{
/* No available fields */
}
Index set object.
NcmISet is an object that stores a set of indexes. It is used to store the indexes
of the components of a vector or matrix that are being used in a calculation.
Instance methods
ncm_iset_add_largest_subset
Adds indexes to iset using the largest values of v
satisfying $v_i > \mu$ where $i \in $ complement of iset.
ncm_iset_get_subarray
Construct a continuous array using the values from a
and the indexes in iset. If a_dup is not null use
this array to build the subarray, otherwise, allocates
a new array.
ncm_iset_get_submatrix
Construct a continuous matrix square $S$ using the values
from the square matrix M and the indexes in iset. If
M_dup is not null use this matrix to build the submatrix,
otherwise, allocates a new matrix.
ncm_iset_get_submatrix_colmajor_cols
Construct a continuous matrix rectangular $S$ using the columns
from the rectangular matrix M and the indexes in iset. If
M_dup is not null use this matrix to build the submatrix,
otherwise, allocates a new matrix. It writes the columns in $S$
using a colmajor memory scheme. This is useful when using
the output matrix into Lapack routines.
ncm_iset_get_submatrix_cols
Construct a continuous matrix rectangular $S$ using the columns
from the rectangular matrix M and the indexes in iset. If
M_dup is not null use this matrix to build the submatrix,
otherwise, allocates a new matrix.
ncm_iset_get_subvector
Construct a continuous vector $s$ using the values from v
and the indexes in iset. If v_dup is not null use
this vector to build the subvector, otherwise, allocates
a new vector.
ncm_iset_get_sym_submatrix
Construct a continuous symmetric matrix $S$ using the values
from M and the indexes in iset. If M_dup is not null use
this matrix to build the submatrix, otherwise, allocates
a new matrix. If UL == ‘U’/’L’ only the Upper/Lower triangle
will be copied.
ncm_iset_get_vector_inv_cmp
Computes the inverse of the relative difference between
vectors u and v, namely: $$\left(\frac{u_i - v_i}{u_i}\right)^{-1},$$
for indexes $i \in $ iset.
ncm_iset_remove_smallest_subset
Removes indexes of iset from target based on the values on v.
The first max_remove indexes from target matching the smallest
components of v are removed.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.