#include <mdp_nmatrix_field.h>
Inheritance diagram for mdp_nmatrix_field:

Public Member Functions | |
| mdp_nmatrix_field (mdp_nmatrix_field &field) | |
| mdp_nmatrix_field (mdp_lattice &a, int n, int i, int j) | |
| declares a field object that at each site as vector of n ixj matrices | |
| void | allocate_mdp_nmatrix_field (mdp_lattice &a, int n, int i, int j) |
| dynamically allocates a field object that at each site as vector of n ixj matrices | |
| mdp_matrix | operator() (mdp_site x, int n) |
| returns the n-th matrix stored at site x | |
| mdp_complex & | operator() (mdp_site x, int n, int i, int j) |
| returns the (i,j) component of the n-th matrix stored at site x | |
| const mdp_complex & | operator() (mdp_site x, int n, int i, int j) const |
Public Attributes | |
| uint | rows |
| uint | columns |
| uint | matrices |
| uint | imax |
| uint | imax2 |
Example:
int box[]={10,10,10};
mdp_lattice lattice(3,box);
mdp_nmatrix_field h(lattice,10,3,3);
mdp_site x(lattice);
forallsites(x)
for(int i=0; i<10; i++)
h(x,i)=lattice.random(x).SU(3);
1.4.1