Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

mdp_matrix_field Class Reference

a field of matrices More...

#include <mdp_matrix_field.h>

Inheritance diagram for mdp_matrix_field:

mdp_field< mdp_complex > List of all members.

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_complexoperator() (mdp_site x, int i, int j)
const mdp_complexoperator() (mdp_site x, int i, int j) const

Public Attributes

int rows
int columns
int imax

Detailed Description

a field of matrices

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);
    


The documentation for this class was generated from the following file:
Generated on Sun Feb 27 15:12:26 2005 by  doxygen 1.4.1