Functions in alloc.c


Table of Contents
  1. CMPLX_Matrix( )
  2. CMPLX_Vector( )
  3. double_Matrix( )
  4. double_Matrix2( )
  5. double_Vector( )
  6. INT_Matrix( )
  7. INT_Matrix2( )
  8. INT_Vector( )
  9. free_CMPLX_Matrix( )
  10. free_CMPLX_Vector( )
  11. free_double_Matrix( )
  12. free_double_Vector( )
  13. free_INT_Matrix( )
  14. free_INT_Vector( )
  15. Null_double_Matrix( )
  16. Null_double_Vector( )
  17. Null_INTMatrix( )
  18. Null_INTVector( )


CMPLX_Matrix( )

Prototype:    complex **    CMPLX_Matrix( int row, int column)
Description:     To allocate a matrix of complex type
Input value: Return value:     pointer to the matrix

(Click to go back to Table of Contents.)



CMPLX_Vector( )

Prototype:    complex *CMPLX_Vector( int nh )
Description:    To allocate a vector of complex type.
Input value: Return value:     a pointer to the vector
 
(Click to go back to Table of Contents.)
 


double_Matrix( )

Prototype:    double **    double_Matrix(int row, int col)
Description:     To allocate a  matrix of double type.
Input value: Return value:     a pointer to the matrix
 
(Click to go back to Table of Contents.)
 


double_Matrix2( )

Prototype:    double ***    double_Matrix2( int row, int column, int width)
Description:     To allocate a three-dimension array of double type.
Input value: Return value:  a pointer to the three-dimension array

(Click to go back to Table of Contents.)


double_Vector( )

Prototype:    double *double_Vector(int nh)
Description:    To allocate a vector of double type.
Input value: Return value:    a pointer to the vector

(Click to go back to Table of Contents.)



INT_Matrix( )

Prototype:    int **    INT_Matrix( int row, int col)
Description:     To allocates a matrix of  integer type
Input value: Return value:     a pointer to the matrix
 
(Click to go back to Table of Contents.)
 


INT_Matrix2( )

Prototype:    int ***    INT_Matrix2( int row, int column, int width)
Description:     To allocate a three dimension array of double type.
Input value: Return value:    pointer to the three dimensional matrix

(Click to go back to Table of Contents.)



INT_Vector( )

Prototype:    int *  INT_Vector( int nh)
Description:     To allocate a vector of  integer type.
Input value: Return value:     pointer to the vector

(Click to go back to Table of Contents.)


free_CMPLX_Matrix( )

Prototype:    void free_CMPLX_Matrix( complex **m, int row, int column)
Description:     To free a  matrix of  complex type.
Input value: Return value:     none

(Click to go back to Table of Contents.)
 


free_CMPLX_Vector( )

Prototype:    void    free_CMPLX_Vector( complex *v, int nh)
Description:     To free a vector of complex type
Input value: Return value:     none

(Click to go back to Table of Contents.)



free_double_Matrix( )

Prototype:    void    free_double_Matrix( double **m, int row, int column)
Description:     To free a matrix of double type.
Input value: Return value:     none

(Click to go back to Table of Contents.)



free_double_Vector( )

Prototype:    void    free_double_Vector(double *v, int nh)
Description:     To free a vector of  double type.
Input value: Return value:     none

(Click to go back to Table of Contents.)

 

free_INT_Matrix( )

Prototype:    void    free_INT_Matrix( int **m, int row, int column)
Description:     To free a matrix of integer type.
Input value: Return value:     none

(Click to go back to Table of Contents.)



free_INT_Vector( )

Prototype:    void    free_INT_Vector( int *v, int nh)
Description:     To free a vector of integer type.
Input value: Return value:     none

(Click to go back to Table of Contents.)


Null_double_Matrix( )

Prototype:    void    Null_double_Matrix(  *Vec, int LenX, int LenY)
Description:     To initialize  a matrix of double type to zero.
Input value: Return value:     none

(Click to go back to Table of Contents.)


Null_double_Vector( )

Prototype:    void    Null_RealVector( int *Vec, int LenX)
Description:     To initialize  a vector of double type to zero.
Input value: Return value:     none

(Click to go back to Table of Contents.)


Null_INTMatrix( )

Prototype:    void    Null_INTMatrix( int *Vec, int LenX, int LenY)
Description:     To initialize a matrix of integer type to zero.
Input value: Return value:     none

(Click to go back to Table of Contents.)


Null_INTVector( )

Prototype:    void    Null_INTVector( int *Vec, int LenX)
Description:     To initialize  a vector of integer type to zero.
Input value: Return value:     none

(Click to go back to Table of Contents.)