PetscErrorCode PETSCMAT_DLLEXPORT MatCreateSeqDense(MPI_Comm comm,PetscInt m,PetscInt n,PetscScalar *data,Mat *A)Collective on MPI_Comm
| comm | - MPI communicator, set to PETSC_COMM_SELF | |
| m | - number of rows | |
| n | - number of columns | |
| data | - optional location of matrix data in column major order. Set data=PETSC_NULL for PETSc to control all matrix memory allocation. |
Level:intermediate
Location:src/mat/impls/dense/seq/dense.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages