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

    Estimates the 1-norm. More...
    kusano 7d535a

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

    Defines

    kusano 7d535a
    #define d_sign(a, b)   (b >= 0 ? fabs(a) : -fabs(a))
    kusano 7d535a
    kusano 7d535a
    #define i_dnnt(a)   ( a>=0 ? floor(a+.5) : -floor(.5-a) )
    kusano 7d535a
    kusano 7d535a

    Functions

    kusano 7d535a
    int dlacon_ (int *n, double *v, double *x, int *isgn, double *est, int *kase)
    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
      

    Define Documentation

    kusano 7d535a
    kusano 7d535a
    kusano 7d535a
    kusano 7d535a
          
    kusano 7d535a
            
    kusano 7d535a
              #define d_sign          
    kusano 7d535a
              (
    kusano 7d535a
              a,         
    kusano 7d535a
              
    kusano 7d535a
              
    kusano 7d535a
    kusano 7d535a
                        
    kusano 7d535a
               ) 
    kusano 7d535a
                 (b >= 0 ? fabs(a) : -fabs(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
          
    kusano 7d535a
            
    kusano 7d535a
              #define i_dnnt          
    kusano 7d535a
              (
    kusano 7d535a
    kusano 7d535a
                        
    kusano 7d535a
               ) 
    kusano 7d535a
                 ( a>=0 ? floor(a+.5) : -floor(.5-a) )
    kusano 7d535a
            
    kusano 7d535a
          
    kusano 7d535a
    kusano 7d535a
    kusano 7d535a
    kusano 7d535a

    kusano 7d535a
    kusano 7d535a
    kusano 7d535a

    kusano 7d535a

    Function Documentation

    kusano 7d535a
    kusano 7d535a
    kusano 7d535a
    kusano 7d535a
          
    kusano 7d535a
            
    kusano 7d535a
              int dlacon_           
    kusano 7d535a
              (
    kusano 7d535a
              int * 
    kusano 7d535a
               n, 
    kusano 7d535a
            
    kusano 7d535a
            
    kusano 7d535a
              
    kusano 7d535a
              
    kusano 7d535a
              double * 
    kusano 7d535a
               v, 
    kusano 7d535a
            
    kusano 7d535a
            
    kusano 7d535a
              
    kusano 7d535a
              
    kusano 7d535a
              double * 
    kusano 7d535a
               x, 
    kusano 7d535a
            
    kusano 7d535a
            
    kusano 7d535a
              
    kusano 7d535a
              
    kusano 7d535a
              int * 
    kusano 7d535a
               isgn, 
    kusano 7d535a
            
    kusano 7d535a
            
    kusano 7d535a
              
    kusano 7d535a
              
    kusano 7d535a
              double * 
    kusano 7d535a
               est, 
    kusano 7d535a
            
    kusano 7d535a
            
    kusano 7d535a
              
    kusano 7d535a
              
    kusano 7d535a
              int * 
    kusano 7d535a
               kase 
    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
       DLACON estimates the 1-norm of a square matrix A.   
    kusano 7d535a
       Reverse communication is used for evaluating matrix-vector products.

    kusano 7d535a
       Arguments   
    kusano 7d535a
       =========

    kusano 7d535a
       N      (input) INT
    kusano 7d535a
              The order of the matrix.  N >= 1.

    kusano 7d535a
       V      (workspace) DOUBLE PRECISION array, dimension (N)   
    kusano 7d535a
              On the final return, V = A*W,  where  EST = norm(V)/norm(W)   
    kusano 7d535a
              (W is not returned).

    kusano 7d535a
       X      (input/output) DOUBLE PRECISION array, dimension (N)   
    kusano 7d535a
              On an intermediate return, X should be overwritten by   
    kusano 7d535a
                    A * X,   if KASE=1,   
    kusano 7d535a
                    A' * X,  if KASE=2,
    kusano 7d535a
             and DLACON must be re-called with all the other parameters   
    kusano 7d535a
              unchanged.

    kusano 7d535a
       ISGN   (workspace) INT array, dimension (N)

    kusano 7d535a
       EST    (output) DOUBLE PRECISION   
    kusano 7d535a
              An estimate (a lower bound) for norm(A).

    kusano 7d535a
       KASE   (input/output) INT
    kusano 7d535a
              On the initial call to DLACON, KASE should be 0.   
    kusano 7d535a
              On an intermediate return, KASE will be 1 or 2, indicating   
    kusano 7d535a
              whether X should be overwritten by A * X  or A' * X.   
    kusano 7d535a
              On the final return from DLACON, KASE will again be 0.

    kusano 7d535a
       Further Details   
    kusano 7d535a
       ======= =======

    kusano 7d535a
       Contributed by Nick Higham, University of Manchester.   
    kusano 7d535a
       Originally named CONEST, dated March 16, 1988.

    kusano 7d535a
       Reference: N.J. Higham, "FORTRAN codes for estimating the one-norm of 
    kusano 7d535a
       a real or complex matrix, with applications to condition estimation", 
    kusano 7d535a
       ACM Trans. Math. Soft., vol. 14, no. 4, pp. 381-396, December 1988.   
    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