SuperLU
5.2.0
|
Performs numeric block updates. More...
Functions | |
void | slsolve (int, int, float *, float *) |
Solves a dense UNIT lower triangular system. More... | |
void | smatvec (int, int, int, float *, float *, float *) |
Performs a dense matrix-vector multiply: Mxvec = Mxvec + M * vec. More... | |
void | scheck_tempv () |
void | spanel_bmod (const int m, const int w, const int jcol, const int nseg, float *dense, float *tempv, int *segrep, int *repfnz, GlobalLU_t *Glu, SuperLUStat_t *stat) |
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)
All rights reserved.
The source code is distributed under BSD license, see the file License.txt at the top-level directory.
– SuperLU routine (version 3.0) – Univ. of California Berkeley, Xerox Palo Alto Research Center, and Lawrence Berkeley National Lab. October 15, 2003
Copyright (c) 1994 by Xerox Corporation. All rights reserved.
THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
Permission is hereby granted to use or copy this program for any purpose, provided the above notices are retained on all copies. Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice.
void scheck_tempv | ( | ) |
void slsolve | ( | int | ldm, |
int | ncol, | ||
float * | M, | ||
float * | rhs | ||
) |
The unit lower triangular matrix is stored in a 2D array M(1:nrow,1:ncol). The solution will be returned in the rhs vector.
void smatvec | ( | int | ldm, |
int | nrow, | ||
int | ncol, | ||
float * | M, | ||
float * | vec, | ||
float * | Mxvec | ||
) |
The input matrix is M(1:nrow,1:ncol); The product is returned in Mxvec[].
void spanel_bmod | ( | const int | m, |
const int | w, | ||
const int | jcol, | ||
const int | nseg, | ||
float * | dense, | ||
float * | tempv, | ||
int * | segrep, | ||
int * | repfnz, | ||
GlobalLU_t * | Glu, | ||
SuperLUStat_t * | stat | ||
) |
Purpose
Performs numeric block updates (sup-panel) in topological order. It features: col-col, 2cols-col, 3cols-col, and sup-col updates. Special processing on the supernodal portion of L[*,j]
Before entering this routine, the original nonzeros in the panel were already copied into the spa[m,w].
Updated/Output parameters- dense[0:m-1,w]: L[*,j:j+w-1] and U[*,j:j+w-1] are returned collectively in the m-by-w vector dense[*].