MatTransColoringApplyDenToSp#
Given a symbolic matrix product Csp=AB^T for which a MatTransposeColoring
context has been created and a dense matrix Cden=ABtdense in which Btdens is obtained from MatTransColoringApplySpToDen()
, recover sparse matrix Csp
from Cden
.
Synopsis#
#include "petscmat.h"
PetscErrorCode MatTransColoringApplyDenToSp(MatTransposeColoring matcoloring, Mat Cden, Mat Csp)
Collective
Input Parameters#
matcoloring - coloring context created with
MatTransposeColoringCreate()
Cden - matrix product of a sparse matrix and a dense matrix Btdense
Output Parameter#
Csp - sparse matrix
Note#
These are used internally for some implementations of MatRARt()
See Also#
Matrices, Mat
, MatTransposeColoringCreate()
, MatTransposeColoringDestroy()
, MatTransColoringApplySpToDen()
Level#
developer
Location#
Implementations#
MatTransColoringApplyDenToSp_SeqAIJ in src/mat/impls/aij/seq/matmatmult.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages