Changeset 804 in Sophya for trunk/SophyaLib/TArray/utilarr.h
- Timestamp:
- Apr 3, 2000, 7:36:01 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/utilarr.h
r785 r804 18 18 class Sequence { 19 19 public: 20 Sequence (double start=0., double step=1., Arr_DoubleFunctionOfX f=NULL);20 explicit Sequence (double start=0., double step=1., Arr_DoubleFunctionOfX f=NULL); 21 21 inline double & Start() { return start_; } 22 22 inline double & Step() { return step_; } … … 29 29 class Range { 30 30 public: 31 Range(uint_4 start=0, uint_4 size=1, uint_4 step=1);31 explicit Range(uint_4 start=0, uint_4 size=1, uint_4 step=1); 32 32 inline uint_4 & Start() { return start_; } 33 33 inline uint_4 & Size() { return size_; } 34 34 inline uint_4 & Step() { return step_; } 35 Range & operator = (uint_4 start);36 35 protected: 37 36 uint_4 start_, size_, step_; 37 }; 38 39 class IdentityMatrix { 40 public: 41 explicit IdentityMatrix(double diag=1., uint_4 n=0); 42 inline uint_4 Size() { return size_; } 43 inline double Diag() { return diag_; } 44 protected: 45 uint_4 size_; 46 double diag_; 38 47 }; 39 48
Note:
See TracChangeset
for help on using the changeset viewer.