Changeset 7399 for trunk/MagicSoft/Mars
- Timestamp:
- 11/14/05 10:50:53 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7397 r7399 45 45 * macros/optim/rfenergyest.C: 46 46 - added 47 48 * mhbase/MHMatrix.[h,cc]: 49 - added new constructor taking a TMatrix and a MDataArray as 50 argument 47 51 48 52 -
trunk/MagicSoft/Mars/mhbase/MHMatrix.cc
r7130 r7399 115 115 // -------------------------------------------------------------------------- 116 116 // 117 // Constructor. Initializes the columns of the matrix with the entries 118 // from a MDataArray 119 // 120 MHMatrix::MHMatrix(const TMatrix &m, MDataArray *mat, const char *name, const char *title) 121 : fNumRows(m.GetNrows()), fM(m), fData(mat) 122 { 123 fName = name ? name : gsDefName.Data(); 124 fTitle = title ? title : gsDefTitle.Data(); 125 } 126 127 // -------------------------------------------------------------------------- 128 // 117 129 // Destructor. Does not deleted a user given MDataArray, except IsOwner 118 130 // was called. -
trunk/MagicSoft/Mars/mhbase/MHMatrix.h
r7130 r7399 63 63 MHMatrix(MDataArray *mat, const char *name=NULL, const char *title=NULL); 64 64 MHMatrix(const TMatrix &m, const char *name=NULL, const char *title=NULL); 65 MHMatrix(const TMatrix &m, MDataArray *arr, const char *name=NULL, const char *title=NULL); 65 66 ~MHMatrix(); 66 67
Note:
See TracChangeset
for help on using the changeset viewer.