Changeset 1103 in Sophya for trunk/SophyaLib/TArray/tvector.cc
- Timestamp:
- Jul 27, 2000, 2:00:10 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/tvector.cc
r1099 r1103 1 // $Id: tvector.cc,v 1. 9 2000-07-26 16:29:46ansari Exp $1 // $Id: tvector.cc,v 1.10 2000-07-27 00:00:10 ansari Exp $ 2 2 // C.Magneville 04/99 3 3 #include "machdefs.h" … … 101 101 template <class T> 102 102 TVector<T>::TVector(const BaseArray& a) 103 : TMatrix<T>() 104 { 105 arrtype_ = 2; // Type = Vector 106 SetBA(a); 103 : TMatrix<T>(a) 104 { 105 if ( (size_[0] != 1) && (size_[1] != 1) ) 106 throw SzMismatchError("TVector<T>::TVector(const BaseArray& a) NRows()!=1 && NCols()!=1 "); 107 arrtype_ = 2; // Type = Vector 107 108 } 108 109
Note:
See TracChangeset
for help on using the changeset viewer.