MatDenseSetLDA#
Sets the leading dimension of the array used by the MATDENSE matrix
Synopsis#
#include "petscmat.h"
PetscErrorCode MatDenseSetLDA(Mat A, PetscInt lda)
Collective if the matrix layouts have not yet been setup
Input Parameters#
A - a
MATDENSEorMATDENSECUDAmatrixlda - the leading dimension
See Also#
Matrices, Mat, MATDENSE, MATDENSECUDA, MatDenseGetArray(), MatDenseRestoreArray(), MatDenseGetArrayRead(), MatDenseRestoreArrayRead(), MatDenseGetLDA()
Level#
intermediate
Location#
Examples#
src/mat/tutorials/ex2.c
src/mat/tests/ex34.c
src/mat/tests/ex256.c
src/mat/tests/ex257.c
src/mat/tests/ex66.c
src/mat/tests/ex70.c
src/ksp/ksp/tests/ex61.c
Implementations#
MatDenseSetLDA_MPIDense() in src/mat/impls/dense/mpi/mpidense.c
MatDenseSetLDA_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