26 sampling_(2*sampling_in),
27 wavefunction_(sampling_, std::vector<std::complex<double> >(sampling_, std::complex<double> (0.0,0.0)) )
29 if(
debug_) std::cerr <<
"WF@ Constructor" << std::endl;
36 std::ostringstream oss;
38 for(
unsigned int i = 0; i !=
sampling_; ++i)
41 for(
unsigned int j = 0; j !=
sampling_; ++j)
43 oss << ((*this)[i][j]);
const std::complex< double > & operator()(unsigned int i, unsigned int j) const
unsigned int sampling() const
std::vector< std::vector< std::complex< double > > > wavefunction_
std::complex< double > get(unsigned int i, unsigned int j) const
const std::vector< std::complex< double > > & operator[](unsigned int i) const
void set(unsigned int i, unsigned int j, const std::complex< double > &value)
ARWavefunction(unsigned int sampling_in, bool debug=false)
std::string print() const