|
kusano |
7d535a |
|
|
kusano |
7d535a |
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
|
|
kusano |
7d535a |
<title>SuperLU: SRC/zlangs.c File Reference</title>
|
|
kusano |
7d535a |
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
kusano |
7d535a |
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Main Page
|
|
kusano |
7d535a |
Data Structures
|
|
kusano |
7d535a |
Files
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
SRC/zlangs.c File ReferenceReturns the value of the one norm. More...
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#include <math.h>
|
|
kusano |
7d535a |
#include "slu_zdefs.h"
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Functions
|
|
kusano |
7d535a |
double zlangs (char *norm, SuperMatrix *A)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Detailed Description
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
-- SuperLU routine (version 2.0) --
|
|
kusano |
7d535a |
Univ. of California Berkeley, Xerox Palo Alto Research Center,
|
|
kusano |
7d535a |
and Lawrence Berkeley National Lab.
|
|
kusano |
7d535a |
November 15, 1997
|
|
kusano |
7d535a |
Modified from lapack routine ZLANGE
|
|
kusano |
7d535a |
Function Documentation
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
double zlangs
|
|
kusano |
7d535a |
(
|
|
kusano |
7d535a |
char *
|
|
kusano |
7d535a |
norm,
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
SuperMatrix *
|
|
kusano |
7d535a |
A
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Purpose
|
|
kusano |
7d535a |
=======
|
|
kusano |
7d535a |
ZLANGS returns the value of the one norm, or the Frobenius norm, or
|
|
kusano |
7d535a |
the infinity norm, or the element of largest absolute value of a
|
|
kusano |
7d535a |
real matrix A.
|
|
kusano |
7d535a |
Description
|
|
kusano |
7d535a |
===========
|
|
kusano |
7d535a |
ZLANGE returns the value
|
|
kusano |
7d535a |
ZLANGE = ( max(abs(A(i,j))), NORM = 'M' or 'm'
|
|
kusano |
7d535a |
(
|
|
kusano |
7d535a |
( norm1(A), NORM = '1', 'O' or 'o'
|
|
kusano |
7d535a |
(
|
|
kusano |
7d535a |
( normI(A), NORM = 'I' or 'i'
|
|
kusano |
7d535a |
(
|
|
kusano |
7d535a |
( normF(A), NORM = 'F', 'f', 'E' or 'e'
|
|
kusano |
7d535a |
where norm1 denotes the one norm of a matrix (maximum column sum),
|
|
kusano |
7d535a |
normI denotes the infinity norm of a matrix (maximum row sum) and
|
|
kusano |
7d535a |
normF denotes the Frobenius norm of a matrix (square root of sum of
|
|
kusano |
7d535a |
squares). Note that max(abs(A(i,j))) is not a matrix norm.
|
|
kusano |
7d535a |
Arguments
|
|
kusano |
7d535a |
=========
|
|
kusano |
7d535a |
NORM (input) CHARACTER*1
|
|
kusano |
7d535a |
Specifies the value to be returned in ZLANGE as described above.
|
|
kusano |
7d535a |
A (input) SuperMatrix*
|
|
kusano |
7d535a |
The M by N sparse matrix A.
|
|
kusano |
7d535a |
=====================================================================
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
<address style="text-align: right;"><small>Generated on Mon Nov 22 10:23:48 2010 for SuperLU by </small></address>
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
1.5.5
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|