![]() |
Home | Libraries | License | Support | People | ALPS Web Site |
ietl::FortranMatrix
// In header: <alps/src/ietl/fmatrix.h> template<typename T> class FortranMatrix { public: // types typedef std::size_t size_type; // construct/copy/destruct FortranMatrix(size_type, size_type); FortranMatrix(size_type, size_type); FortranMatrix(const FortranMatrix< T > &); void operator=(const FortranMatrix< T > &); ~FortranMatrix(); ~FortranMatrix(); // public member functions T * data(); const T * data() const; T operator()(size_type, size_type) const; T & operator()(size_type, size_type); void resize(size_type, size_type); size_type nrows(); size_type ncols(); size_type minor(); T * data(); const T * data() const; T operator()(size_type, size_type) const; T & operator()(size_type, size_type); void resize(size_type, size_type); size_type minor(); };
FortranMatrix
public
construct/copy/destructFortranMatrix(size_type n, size_type m);
FortranMatrix(size_type n, size_type m);
FortranMatrix(const FortranMatrix< T > &);
void operator=(const FortranMatrix< T > &);
~FortranMatrix();
~FortranMatrix();
FortranMatrix
public member functionsT * data();
const T * data() const;
T operator()(size_type i, size_type j) const;
T & operator()(size_type i, size_type j);
void resize(size_type n, size_type m);
size_type nrows();
size_type ncols();
size_type minor();
T * data();
const T * data() const;
T operator()(size_type i, size_type j) const;
T & operator()(size_type i, size_type j);
void resize(size_type n, size_type m);
size_type minor();
Copyright © 2011 Matthias Troyer, Bela Bauer, Robin Jäger |