#include <factory.h>
Public Member Functions | |
| MatrixFactory () | |
| Default constructor, does nothing. | |
| MatrixFactory (const MatrixFactory ©) | |
| Copy constructor. | |
| bool | init_with_chkpt (shared_ptr< psi::PSIO > psio) |
| Initializes the matrix factory by creating a chkpt object with a psio reference. | |
| bool | init_with_chkpt (shared_ptr< psi::Chkpt > chkpt) |
| Initializes the matrix factory using the given chkpt object. | |
| bool | init_with (int nirreps, int *rowspi, int *colspi) |
| Manually initialize the matrix factory. | |
| int | nirreps () const |
| Returns number of irreps. | |
| int * | rowspi () const |
| Returns the rows per irrep array. | |
| int | nrows (int h) const |
| Returns the number of rows in irrep h. | |
| int * | colspi () const |
| Returns the columns per irrep array. | |
| int | ncols (int h) const |
| Returns the number of columns in irrep h. | |
| int | nso () const |
| Returns the number of orbitals. | |
| Matrix * | create_matrix () |
| Returns a new Matrix object with default dimensions. | |
| void | create_matrix (Matrix &mat) |
| Matrix * | create_matrix (std::string name) |
| Returns a new Matrix object named name with default dimensions. | |
| void | create_matrix (Matrix &mat, std::string name) |
| Vector * | create_vector () |
| Returns a new Vector object with default dimensions. | |
| void | create_vector (Vector &vec) |
| SimpleMatrix * | create_simple_matrix () |
| Returns a new SimpleMatrix object with default dimensions. | |
| void | create_simple_matrix (SimpleMatrix &mat) |
| SimpleMatrix * | create_simple_matrix (std::string name) |
| Returns a new SimpleMatrix object named name with default dimensions. | |
| void | create_simple_matrix (SimpleMatrix &mat, std::string name) |
| SimpleMatrix * | create_simple_matrix (std::string name, int m, int n) |
| Returns a new SimpleMatrix object named name of size m x n. | |
| void | create_simple_matrix (SimpleMatrix &mat, std::string name, int m, int n) |
| SimpleMatrix * | create_simple_matrix (int m, int n) |
| Returns a new SimpleMatrix object with size m x n. | |
| void | create_simple_matrix (SimpleMatrix &mat, int m, int n) |
| SimpleVector * | create_simple_vector () |
| Returns a new SimpleVector object with default dimension. | |
| SimpleVector * | create_simple_vector (int m) |
| Returns a new SimpleVector object with size m. | |
The objects this factory creates can automatically be sized based on information from checkpoint.
1.5.6