Psi4
Namespaces | Functions
mem.h File Reference

Go to the source code of this file.

Namespaces

 opt
 

Functions

void opt::zero_array (double *A, long int n)
 
void opt::zero_int_array (int *A, long int n)
 
double * opt::init_array (long int m)
 
void opt::free_array (double *f)
 
int * opt::init_int_array (int m)
 
void opt::free_int_array (int *f)
 
bool * opt::init_bool_array (int m)
 
void opt::free_bool_array (bool *f)
 
double ** opt::init_matrix (long int m, long int n)
 
void opt::free_matrix (double **A)
 
void opt::zero_matrix (double **A, long int m, long int n)
 
int ** opt::init_int_matrix (long int m, long int n)
 
void opt::free_int_matrix (int **A)
 
bool ** opt::init_bool_matrix (long int m, long int n)
 
void opt::free_bool_matrix (bool **A)
 
double ** opt::unit_matrix (long int m)
 
void opt::unit_matrix (double **A, long int m)
 
double * opt_init_array (long int m)
 
void opt_free_array (double *f)
 
double ** opt_init_matrix (long int m, long int n)
 
void opt_free_matrix (double **A)
 
void opt_matrix_copy (double **A, double **B, long int m, long int n)
 

Detailed Description

: header for memory allocation functions

Function Documentation

void opt_free_array ( double *  f)
void opt_free_matrix ( double **  A)
double* opt_init_array ( long int  m)
double** opt_init_matrix ( long int  m,
long int  n 
)
void opt_matrix_copy ( double **  A,
double **  B,
long int  m,
long int  n 
)