Destroy_CompRow_Matrix(3P) Sun Performance Library Destroy_CompRow_Matrix(3P)NAMEDestroy_CompRow_Matrix - Precision-independent C function in the serial
SuperLU solver that deallocates a supermatrix in compressed sparse row
format.
SYNOPSIS
#include <sunperf.h>
void Destroy_CompRow_Matrix(SuperMatrix *A);
void Destroy_CompRow_Matrix_64(SuperMatrix_64 *A);
PURPOSEDestroy_CompRow_Matrix() deallocates a supermatrix in compressed row
format (NRformat).
ARGUMENTS
SuperMatrix *A (input) - pointer to SuperMatrix A, which is in NRformat
(Stype = SLU_NR).
NOTESDestroy_CompRow_Matrix will deallocate the data structure created in
sCreate_CompRow_Matrix() along with the three arrays passed into (and
not created by) sCreate_CompRow_Matrix() as input. If it is not desir‐
able for Destroy_CompRow_Matrix to deallocate memory that was not allo‐
cated by sCreate_CompRow_Matrix(), the user may call Destroy_SuperMa‐
trix_Store() which will leave the three input arrays untouched.
COPYRIGHT
Copyright (c) 2003, The Regents of the University of California,
through Lawrence Berkeley National Laboratory (subject to receipt of
any required approvals from U.S. Dept. of Energy)
SEE ALSO
Destroy_SuperMatrix_Store
sCreate_CompRow_Matrix
SuperMatrix
http://crd.lbl.gov/~xiaoye/SuperLU/
James W. Demmel, Stanley C. Eisenstat, John R. Gilbert, Xiaoye S. Li
and Joseph W. H. Liu, "A supernodal approach to sparse partial pivot‐
ing", SIAM J. Matrix Analysis and Applications, Vol. 20, Num. 3, 1999,
pp. 720-755.
6 Mar 2009 Destroy_CompRow_Matrix(3P)