MatDenseGetLDA#
gets the leading dimension of the array returned from MatDenseGetArray()
Synopsis#
#include "petscmat.h"
PetscErrorCode MatDenseGetLDA(Mat A, PetscInt *lda)
Not Collective
Input Parameter#
A - a
MATDENSEorMATDENSECUDAmatrix
Output Parameter#
lda - the leading dimension
See Also#
Matrices, Mat, MATDENSE, MATDENSECUDA, MatDenseGetArray(), MatDenseRestoreArray(), MatDenseGetArrayRead(), MatDenseRestoreArrayRead(), MatDenseSetLDA()
Level#
intermediate
Location#
Examples#
src/mat/tests/ex129.c
src/mat/tests/ex16.c
src/mat/tests/ex257.c
src/mat/tests/ex318.c
src/mat/tests/ex70.c
src/ksp/pc/tests/ex13.c
Implementations#
MatDenseGetLDA_MPIDense() in src/mat/impls/dense/mpi/mpidense.c
MatDenseGetLDA_SeqDense() in src/mat/impls/dense/seq/dense.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages