PetscViewerMathematicaPutMatrix#
Send a dense matrix to a Mathematica kernel as a two-dimensional array bound to a symbol in the kernel’s namespace.
Synopsis#
PetscErrorCode PetscViewerMathematicaPutMatrix(PetscViewer viewer, int m, int n, PetscReal *a)
Not Collective
Input Parameters#
viewer - the
PETSCVIEWERMATHEMATICAviewerm - the number of rows
n - the number of columns
a - the matrix values, in column-major order, of length
m*n
Note#
The Mathematica symbol name defaults to mat and can be changed with PetscViewerMathematicaSetName().
See Also#
PetscViewer, PETSCVIEWERMATHEMATICA, PetscViewerMathematicaPutCSRMatrix(), PetscViewerMathematicaSetName()
Level#
developer
Location#
src/sys/classes/viewer/impls/mathematica/mathematica.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages