comparison liboctave/dRowVector.h @ 3504:5eef8a2294bd

[project @ 2000-02-01 10:06:51 by jwe]
author jwe
date Tue, 01 Feb 2000 10:07:26 +0000
parents 8b262e771614
children 6ae6f1180e62
comparison
equal deleted inserted replaced
3503:d14c483b3c12 3504:5eef8a2294bd
31 31
32 #include "mx-defs.h" 32 #include "mx-defs.h"
33 33
34 class RowVector : public MArray<double> 34 class RowVector : public MArray<double>
35 { 35 {
36 friend class ColumnVector;
37
38 public: 36 public:
39 37
40 RowVector (void) : MArray<double> () { } 38 RowVector (void) : MArray<double> () { }
41 RowVector (int n) : MArray<double> (n) { } 39 RowVector (int n) : MArray<double> (n) { }
42 RowVector (int n, double val) : MArray<double> (n, val) { } 40 RowVector (int n, double val) : MArray<double> (n, val) { }
88 double min (void) const; 86 double min (void) const;
89 double max (void) const; 87 double max (void) const;
90 88
91 // i/o 89 // i/o
92 90
93 friend ostream& operator << (ostream& os, const RowVector& a); 91 friend std::ostream& operator << (std::ostream& os, const RowVector& a);
94 friend istream& operator >> (istream& is, RowVector& a); 92 friend std::istream& operator >> (std::istream& is, RowVector& a);
95 93
96 private: 94 private:
97 95
98 RowVector (double *d, int l) : MArray<double> (d, l) { } 96 RowVector (double *d, int l) : MArray<double> (d, l) { }
99 }; 97 };