int MatBDiagGetData(Mat mat,int *nd,int *bs,int **diag,int **bdlen,Scalar ***diagv)
Not Collective
m | - number of rows |
n | - number of columns |
nd | - number of block diagonals |
bs | - each element of a diagonal is an bs x bs dense matrix |
bdlen | - array of total block lengths of block diagonals |
diag | - optional array of block diagonal numbers (length nd). For a matrix element A[i,j], where i=row and j=column, the diagonal number is |
diagv | - pointer to actual diagonals (in same order as diag array), |
Location: src/mat/impls/bdiag/mpi/mpibdiag.c
Matrix Index
Table of Contents