LADEL main
Sparse LDL factorization package with rank 1 and rowadd/rowdel updates
Functions
ladel_submatrix.c File Reference
#include "ladel_types.h"
#include "ladel_global.h"
+ Include dependency graph for ladel_submatrix.c:

Go to the source code of this file.

Functions

ladel_sparse_matrixladel_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...
 

Function Documentation

◆ ladel_column_submatrix()

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)\).

Parameters
MInput matrix
colsList of columns to put in the submatrix
nb_colsNumber of columns to take (size of cols)
Returns
\(M(:,cols)\)

Definition at line 4 of file ladel_submatrix.c.

+ Here is the call graph for this function: