TBTK
EigenValues.h
Go to the documentation of this file.
1 /* Copyright 2016 Kristofer Björnson
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
23 #ifndef COM_DAFER45_TBTK_EIGEN_VALUES
24 #define COM_DAFER45_TBTK_EIGEN_VALUES
25 
26 namespace TBTK{
27  class CPropertyExtractor;
28  class DPropertyExtractor;
29  class FileReader;
30 namespace Property{
31 
34 public:
36  EigenValues(int size);
37 
39  ~EigenValues();
40 
42  int getSize() const;
43 
45  const double* getData() const;
46 private:
48  int size;
49 
51  double *data;
52 
56 
60 
63  friend class TBTK::FileReader;
64 };
65 
66 inline int EigenValues::getSize() const{
67  return size;
68 }
69 
70 inline const double* EigenValues::getData() const{
71  return data;
72 }
73 
74 }; //End namespace Property
75 }; //End namespace TBTK
76 
77 #endif
Definition: EigenValues.h:33
const double * getData() const
Definition: EigenValues.h:70
Definition: CPropertyExtractor.h:37
Definition: FileReader.h:46
~EigenValues()
Definition: EigenValues.cpp:31
Definition: AbstractOperator.h:26
Definition: DPropertyExtractor.h:40
int getSize() const
Definition: EigenValues.h:66
EigenValues(int size)
Definition: EigenValues.cpp:26