|
VMPS++
|

Go to the source code of this file.
Enumerations | |
| enum | BLOCK_POSITION { SAME_PLACE , BOTTOM_RIGHT , RIGHT , BOTTOM } |
Functions | |
| template<typename MatrixType1 , typename MatrixType2 > | |
| void | addBottomRight (const MatrixType1 &Min, MatrixType2 &Mout) |
| template<typename MatrixType1 , typename MatrixType2 > | |
| void | addRight (const MatrixType1 &Min, MatrixType2 &Mout) |
| template<typename MatrixType1 , typename MatrixType2 > | |
| void | addRight_makeSquare (const MatrixType1 &Min, MatrixType2 &Mout) |
| template<typename MatrixType1 , typename MatrixType2 > | |
| void | addBottom (const MatrixType1 &Min, MatrixType2 &Mout) |
| template<typename MatrixType1 , typename MatrixType2 > | |
| void | addBottom_makeSquare (const MatrixType1 &Min, MatrixType2 &Mout) |
| template<typename MatrixType1 , typename MatrixType2 > | |
| void | addPos (const MatrixType1 &Min, MatrixType2 &Mout, BLOCK_POSITION POS) |
| template<typename MatrixType > | |
| void | remove_col (size_t i, MatrixType &M) |
| template<typename MatrixType > | |
| void | remove_row (size_t i, MatrixType &M) |
| enum BLOCK_POSITION |
| Enumerator | |
|---|---|
| SAME_PLACE | |
| BOTTOM_RIGHT | |
| RIGHT | |
| BOTTOM | |
Definition at line 131 of file DmrgConglutinations.h.
| void addBottom | ( | const MatrixType1 & | Min, |
| MatrixType2 & | Mout | ||
| ) |
Conglutinates two matrices by adding to the bottom. Columns must match or one of the two has to be empty.
| Min | : matrix to be added |
| Mout | : matrix written to |
If Mout empty, set Min = Mout
If Min also empty, do nothing.
Definition at line 83 of file DmrgConglutinations.h.
| void addBottom_makeSquare | ( | const MatrixType1 & | Min, |
| MatrixType2 & | Mout | ||
| ) |
If Mout empty, set Min = Mout
If Min also empty, do nothing.
Definition at line 107 of file DmrgConglutinations.h.
| void addBottomRight | ( | const MatrixType1 & | Min, |
| MatrixType2 & | Mout | ||
| ) |
Conglutinates two matrices by applying a direct sum.
| Min | : matrix to be added |
| Mout | : matrix written to |
Definition at line 9 of file DmrgConglutinations.h.
| void addPos | ( | const MatrixType1 & | Min, |
| MatrixType2 & | Mout, | ||
| BLOCK_POSITION | POS | ||
| ) |
Definition at line 134 of file DmrgConglutinations.h.
| void addRight | ( | const MatrixType1 & | Min, |
| MatrixType2 & | Mout | ||
| ) |
Conglutinates two matrices by adding to the right. Rows must match or one of the two has to be empty.
| Min | : matrix to be added |
| Mout | : matrix written to |
If Mout empty, set Min = Mout
If Min also empty, do nothing.
Definition at line 29 of file DmrgConglutinations.h.
| void addRight_makeSquare | ( | const MatrixType1 & | Min, |
| MatrixType2 & | Mout | ||
| ) |
If Mout empty, set Min = Mout
If Min also empty, do nothing.
Definition at line 53 of file DmrgConglutinations.h.
| void remove_col | ( | size_t | i, |
| MatrixType & | M | ||
| ) |
Removes a column of a matrix. Might be useful to remove zero columns before doing SVD and such.
| i | : column to be removed |
| M | : apply to this matrix |
Definition at line 146 of file DmrgConglutinations.h.
| void remove_row | ( | size_t | i, |
| MatrixType & | M | ||
| ) |
Removes a row of a matrix. Might be useful to remove zero rows before doing SVD and such.
| i | : row to be removed |
| M | : apply to this matrix |
Definition at line 162 of file DmrgConglutinations.h.