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

    Common arithmetic for complex type. More...
    kusano 7d535a

    kusano 7d535a
    #include <math.h>
    kusano 7d535a
    #include <stdlib.h>
    kusano 7d535a
    #include <stdio.h>
    kusano 7d535a
    #include "slu_dcomplex.h"
    kusano 7d535a
    kusano 7d535a
    kusano 7d535a

    Functions

    kusano 7d535a
    void z_div (doublecomplex *c, doublecomplex *a, doublecomplex *b)
    kusano 7d535a
    kusano 7d535a
     Complex Division c = a/b.  
    kusano 7d535a
    double z_abs (doublecomplex *z)
    kusano 7d535a
    kusano 7d535a
     Returns sqrt(z.r^2 + z.i^2).  
    kusano 7d535a
    double z_abs1 (doublecomplex *z)
    kusano 7d535a
    kusano 7d535a
     Approximates the abs. Returns abs(z.r) + abs(z.i).  
    kusano 7d535a
    void z_exp (doublecomplex *r, doublecomplex *z)
    kusano 7d535a
    kusano 7d535a
     Return the exponentiation.  
    kusano 7d535a
    void d_cnjg (doublecomplex *r, doublecomplex *z)
    kusano 7d535a
    kusano 7d535a
     Return the complex conjugate.  
    kusano 7d535a
    double d_imag (doublecomplex *z)
    kusano 7d535a
    kusano 7d535a
     Return the imaginary part.  
    kusano 7d535a
    doublecomplex z_sgn (doublecomplex *z)
    kusano 7d535a
    kusano 7d535a
     SIGN functions for complex number. Returns z/abs(z).  
    kusano 7d535a
    doublecomplex z_sqrt (doublecomplex *z)
    kusano 7d535a
    kusano 7d535a
     Square-root of a complex number.  
    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
     This file defines common arithmetic operations for complex type.
    kusano 7d535a
      

    Function Documentation

    kusano 7d535a
    kusano 7d535a
    kusano 7d535a
    kusano 7d535a
          
    kusano 7d535a
            
    kusano 7d535a
              void d_cnjg           
    kusano 7d535a
              (
    kusano 7d535a
              doublecomplex
    kusano 7d535a
               r, 
    kusano 7d535a
            
    kusano 7d535a
            
    kusano 7d535a
              
    kusano 7d535a
              
    kusano 7d535a
              doublecomplex
    kusano 7d535a
               z 
    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
    kusano 7d535a
    kusano 7d535a
    kusano 7d535a
          
    kusano 7d535a
            
    kusano 7d535a
              double d_imag           
    kusano 7d535a
              (
    kusano 7d535a
              doublecomplex
    kusano 7d535a
               z          
    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
          
    kusano 7d535a
            
    kusano 7d535a
              double z_abs           
    kusano 7d535a
              (
    kusano 7d535a
              doublecomplex
    kusano 7d535a
               z          
    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
          
    kusano 7d535a
            
    kusano 7d535a
              double z_abs1           
    kusano 7d535a
              (
    kusano 7d535a
              doublecomplex
    kusano 7d535a
               z          
    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
          
    kusano 7d535a
            
    kusano 7d535a
              void z_div           
    kusano 7d535a
              (
    kusano 7d535a
              doublecomplex
    kusano 7d535a
               c, 
    kusano 7d535a
            
    kusano 7d535a
            
    kusano 7d535a
              
    kusano 7d535a
              
    kusano 7d535a
              doublecomplex
    kusano 7d535a
               a, 
    kusano 7d535a
            
    kusano 7d535a
            
    kusano 7d535a
              
    kusano 7d535a
              
    kusano 7d535a
              doublecomplex
    kusano 7d535a
               b 
    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
    kusano 7d535a
    kusano 7d535a
    kusano 7d535a
          
    kusano 7d535a
            
    kusano 7d535a
              void z_exp           
    kusano 7d535a
              (
    kusano 7d535a
              doublecomplex
    kusano 7d535a
               r, 
    kusano 7d535a
            
    kusano 7d535a
            
    kusano 7d535a
              
    kusano 7d535a
              
    kusano 7d535a
              doublecomplex
    kusano 7d535a
               z 
    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
    kusano 7d535a
    kusano 7d535a
    kusano 7d535a
          
    kusano 7d535a
            
    kusano 7d535a
              doublecomplex z_sgn           
    kusano 7d535a
              (
    kusano 7d535a
              doublecomplex
    kusano 7d535a
               z          
    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
          
    kusano 7d535a
            
    kusano 7d535a
              doublecomplex z_sqrt           
    kusano 7d535a
              (
    kusano 7d535a
              doublecomplex
    kusano 7d535a
               z          
    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

    <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