kusano 7d535a
kusano 7d535a
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
kusano 7d535a
<title>SuperLU: SRC/clangs.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/clangs.c File Reference

    Returns the value of the one norm. More...
    kusano 7d535a

    kusano 7d535a
    #include <math.h>
    kusano 7d535a
    #include "slu_cdefs.h"
    kusano 7d535a
    kusano 7d535a
    kusano 7d535a

    Functions

    kusano 7d535a
    float clangs (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 CLANGE 
    kusano 7d535a
      

    Function Documentation

    kusano 7d535a
    kusano 7d535a
    kusano 7d535a
    kusano 7d535a
          
    kusano 7d535a
            
    kusano 7d535a
              float clangs           
    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
       CLANGS 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
       CLANGE returns the value

    kusano 7d535a
          CLANGE = ( 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 CLANGE 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:47 2010 for SuperLU by </small></address>
    kusano 7d535a
    kusano 7d535a
    doxygen 1.5.5 
    kusano 7d535a
    kusano 7d535a