# | Line 65 | Line 65 | namespace oopse { | |
---|---|---|
65 | class Vector{ | |
66 | public: | |
67 | ||
68 | + | typedef Real ElemType; |
69 | + | typedef Real* ElemPoinerType; |
70 | + | |
71 | /** default constructor */ | |
72 | inline Vector(){ | |
73 | for (unsigned int i = 0; i < Dim; i++) | |
# | Line 139 | Line 142 | namespace oopse { | |
142 | return data_[i]; | |
143 | } | |
144 | ||
145 | + | /** Returns the pointer of internal array */ |
146 | + | Real* getArrayPointer() { |
147 | + | return data_; |
148 | + | } |
149 | + | |
150 | /** | |
151 | * Tests if this vetor is equal to other vector | |
152 | * @return true if equal, otherwise return false |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |