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

Public Member Functions | |
| mdp_matrix_field (mdp_matrix_field &field) | |
| mdp_matrix_field (mdp_lattice &a, int i, int j) | |
| void | allocate_mdp_matrix_field (mdp_lattice &a, int i, int j) |
| mdp_matrix | operator() (mdp_site x) |
| mdp_complex & | operator() (mdp_site x, int i, int j) |
| const mdp_complex & | operator() (mdp_site x, int i, int j) const |
Public Attributes | |
| int | rows |
| int | columns |
| int | imax |
Example:
int box[]={10,10,10};
mdp_lattice lattice(3,box);
mdp_matrix_field h(lattice,5,5);
mdp_site x(lattice);
forallsites(x)
h(x)=lattice.random(x).SU(5);
1.4.1