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

Constructor & Destructor Documentation

mdp_matrix_field::mdp_matrix_field (  )  [inline]
mdp_matrix_field::mdp_matrix_field ( mdp_matrix_field field  )  [inline]
mdp_matrix_field::mdp_matrix_field ( mdp_lattice a,
int  i,
int  j 
) [inline]

Member Function Documentation

void mdp_matrix_field::allocate_mdp_matrix_field ( mdp_lattice a,
int  i,
int  j 
) [inline]
const mdp_complex& mdp_matrix_field::operator() ( mdp_site  x,
int  i,
int  j 
) const [inline]
mdp_complex& mdp_matrix_field::operator() ( mdp_site  x,
int  i,
int  j 
) [inline]
mdp_matrix mdp_matrix_field::operator() ( mdp_site  x  )  [inline]

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines

Generated on Wed Dec 23 14:03:15 2009 for fermiqcd by  doxygen 1.6.1