Destroy_Dense_Matrix(3P) Sun Performance Library Destroy_Dense_Matrix(3P)NAMEDestroy_Dense_Matrix - Precision-independent C function in the serial
SuperLU solver that deallocates a SuperMatrix in dense format.
SYNOPSIS
#include <sunperf.h>
void Destroy_Dense_Matrix(SuperMatrix *A);
void Destroy_Dense_Matrix_64(SuperMatrix_64 *A);
PURPOSEDestroy_Dense_Matrix() deallocates a SuperMatrix structure with Fortran
style column-wise storage for dense matrix.
ARGUMENTS
SuperMatrix *A (input) - pointer to SuperMatrix A, which is in column-
wise dense format (Stype = SLU_DN).
NOTESDestroy_Dense_Matrix will deallocate the data structure created in
sCreate_Dense_Matrix() along with the array passed into (and not cre‐
ated by) sCreate_Dense_Matrix() as input. If it is not desirable for
Destroy_Dense_Matrix to deallocate memory that was not allocated by
sCreate_Dense_Matrix(), the user may call Destroy_SuperMatrix_Store()
which will leave the input array 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_Dense_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_Dense_Matrix(3P)