Method
NumCosmoMathISetget_subvector
Declaration [src]
NcmVector*
ncm_iset_get_subvector (
NcmISet* iset,
NcmVector* v,
NcmVector* v_dup
)
Description [src]
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.
Return value
Type: NcmVector
The vector $s$.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |