PetscViewerMathematicaPutMatrix#

Send a dense matrix to a Mathematica kernel as a two-dimensional array bound to a symbol in the kernel’s namespace.

Synopsis#

Not Collective

Input Parameters#

  • viewer - the PETSCVIEWERMATHEMATICA viewer

  • m - 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