List of all members.
|
Public Member Functions |
|
| Vector () |
| | Default constructor, zeros everything out.
|
|
| Vector (const Vector ©) |
| | Copy constructor.
|
|
| Vector (int nirreps, int *dimpi) |
| | Constructor, allocates memory.
|
|
| ~Vector () |
| | Destructor, frees memory.
|
|
void | init (int nirreps, int *dimpi) |
|
void | set (double *vec) |
| | Sets the vector_ to the data in vec.
|
|
double | get (int h, int m) |
| | Returns a single element value.
|
|
void | set (int h, int m, double val) |
| | Sets a single element value.
|
|
double * | to_block_vector () |
| | Returns a copy of the vector_.
|
|
int * | dimpi () const |
| | Returns the dimension array.
|
|
int | nirreps () const |
| | Returns the number of irreps.
|
|
void | print (FILE *) |
| | Prints the vector.
|
|
void | copy (const Vector *rhs) |
| | Copies rhs to this.
|
Protected Member Functions |
|
void | alloc () |
| | Allocates vector_.
|
|
void | release () |
| | Releases vector_.
|
|
void | copy_from (double **) |
| | Copies data to vector_.
|
Protected Attributes |
|
double ** | vector_ |
| | Vector data.
|
|
int | nirreps_ |
| | Number of irreps.
|
|
int * | dimpi_ |
| | Dimensions per irrep.
|
Friends |
|
class | Matrix |
Detailed Description
The documentation for this class was generated from the following files: