ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class template FortranMatrix

ietl::FortranMatrix

Synopsis

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

Description

FortranMatrix public construct/copy/destruct

  1. FortranMatrix(size_type n, size_type m);
  2. FortranMatrix(size_type n, size_type m);
  3. FortranMatrix(const FortranMatrix< T > &);
  4. FortranMatrix& operator=(const FortranMatrix< T > &);
  5. ~FortranMatrix();
  6. ~FortranMatrix();

FortranMatrix public member functions

  1. T * data();
  2. const T * data() const;
  3. T operator()(size_type i, size_type j) const;
  4. T & operator()(size_type i, size_type j);
  5. void resize(size_type n, size_type m);
  6. size_type nrows();
  7. size_type ncols();
  8. size_type minor();
  9. T * data();
  10. const T * data() const;
  11. T operator()(size_type i, size_type j) const;
  12. T & operator()(size_type i, size_type j);
  13. void resize(size_type n, size_type m);
  14. size_type minor();
Copyright © 2011 Matthias Troyer, Bela Bauer, Robin Jäger

PrevUpHomeNext