MatDenseSetLDA#
Sets the leading dimension of the array used by the MATDENSE matrix
Synopsis#
#include "petscmat.h"
PetscErrorCode MatDenseSetLDA(Mat A, PetscInt lda)
Not collective
Input Parameters#
mat - a
MATDENSEorMATDENSECUDAmatrixlda - the leading dimension
See Also#
MATDENSE, MATDENSECUDA, MatDenseGetArray(), MatDenseRestoreArray(), MatDenseGetArrayRead(), MatDenseRestoreArrayRead(), MatDenseGetLDA()
Level#
intermediate
Location#
Examples#
Implementations#
MatDenseSetLDA_MPIDense in src/mat/impls/dense/mpi/mpidense.c
MatDenseSetLDA_SeqDenseCUDA in src/mat/impls/dense/seq/cuda/densecuda.cu
MatDenseSetLDA_SeqDense in src/mat/impls/dense/seq/dense.c
MatDenseSetLDA_SeqDenseHIP in src/mat/impls/dense/seq/hip/densehip.hip.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages