Zephyr Scientific Library (zscilib)
|
Functions used to access subsets of the vector. More...
Functions | |
int | zsl_vec_get_subset (struct zsl_vec *v, size_t offset, size_t len, struct zsl_vec *vsub) |
Returns a subset of source vector 'v' in 'vsub'.. More... | |
Functions used to access subsets of the vector.
Returns a subset of source vector 'v' in 'vsub'..
v | The parent vector to read a subset of. |
offset | The starting index (zero-based) foor the data subset. |
len | The number of values to read, starting at offset. |
vsub | The subset vector, which must have a buffer of at least size 'len'. If the data buffer isn't sufficiently large, this function will return -EINVAL. |
Definition at line 42 of file vectors.c.
Referenced by zsl_mtx_householder(), and zsl_sta_trim_mean().