MatDenseUpdateColumnLayout#
Update the column layout of the dense matrix.
Synopsis#
#include "petscmat.h"
PetscErrorCode MatDenseUpdateColumnLayout(Mat A, PetscLayout clayout)
Collective
Input Parameters#
A - the
Matobjectclayout - the
PetscLayoutobject (cannot beNULL)
Notes#
Because a dense matrix’s storage is independent of its column layout, this routine can update the layout without modifying the underlying storage.
It can be useful when users want to apply the operator, with MatMult() on a right vector with a different layout.
See Also#
Matrices, Mat, MATDENSE, PetscLayout, MatMult(), MatMultAdd()
Level#
advanced
Location#
Implementations#
MatDenseUpdateColumnLayout_MPIDense() in src/mat/impls/dense/mpi/mpidense.c
MatDenseUpdateColumnLayout_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