QNANO
QNANO_Matrix.h
1 #ifndef QNANO_NEW_MATRIX_DEFINED_H_
2 #define QNANO_NEW_MATRIX_DEFINED_H_
3 
4 #include "tools/Tensor2.h"
5 #include "tools/Reader.h"
6 
7 class QNANO_Matrix: public Tensor2 {
8 public:
9 
10 virtual void read(const std::string &filename);
11 virtual void print(std::ostream &os, int figure=12)const;
12 virtual void print(const std::string &filename, int figure=12)const;
13 
14 void copy(const QNANO_Matrix &other){
15  Tensor2::copy(other);
16 }
17 
18 QNANO_Matrix(){
19 }
20 QNANO_Matrix(size_t i, size_t j): Tensor2(i,j){
21 }
22 
23 
24 };
25 
26 #endif
Definition: QNANO_Matrix.h:7