Go to the source code of this file.
Functions | |
ladel_sparse_matrix * | ladel_column_submatrix (const ladel_sparse_matrix *M, const ladel_int *cols, ladel_int nb_cols) |
Returns a matrix that is a selection of columns of M, that is \(out = M(:,cols)\). More... | |
ladel_sparse_matrix * ladel_column_submatrix | ( | const ladel_sparse_matrix * | M, |
const ladel_int * | cols, | ||
ladel_int | nb_cols | ||
) |
Returns a matrix that is a selection of columns of M, that is \(out = M(:,cols)\).
M | Input matrix |
cols | List of columns to put in the submatrix |
nb_cols | Number of columns to take (size of cols) |
Definition at line 4 of file ladel_submatrix.c.