Mercurial > hg > octave-lyh
comparison liboctave/QLD.h @ 1528:dc527156c38c
[project @ 1995-10-05 01:44:18 by jwe]
author | jwe |
---|---|
date | Thu, 05 Oct 1995 01:45:30 +0000 |
parents | 611d403c7f3d |
children | 26411f9c7603 |
comparison
equal
deleted
inserted
replaced
1527:13d27938e778 | 1528:dc527156c38c |
---|---|
42 public: | 42 public: |
43 | 43 |
44 QLD (void) : QP () | 44 QLD (void) : QP () |
45 { set_default_options (); } | 45 { set_default_options (); } |
46 | 46 |
47 QLD (const Vector& x, const Matrix& H) : QP (x, H) | 47 QLD (const ColumnVector& x, const Matrix& H) : QP (x, H) |
48 { set_default_options (); } | 48 { set_default_options (); } |
49 | 49 |
50 QLD (const Vector& x, const Matrix& H, const Vector& c) : QP (x, H, c) | 50 QLD (const ColumnVector& x, const Matrix& H, const ColumnVector& c) |
51 : QP (x, H, c) { set_default_options (); } | |
52 | |
53 QLD (const ColumnVector& x, const Matrix& H, const Bounds& b) : QP (x, H, b) | |
51 { set_default_options (); } | 54 { set_default_options (); } |
52 | 55 |
53 QLD (const Vector& x, const Matrix& H, const Bounds& b) : QP (x, H, b) | 56 QLD (const ColumnVector& x, const Matrix& H, const LinConst& lc) |
57 : QP (x, H, lc) | |
58 { set_default_options (); } | |
59 | |
60 QLD (const ColumnVector& x, const Matrix& H, const ColumnVector& c, | |
61 const Bounds& b) : QP (x, H, c, b) { set_default_options (); } | |
62 | |
63 QLD (const ColumnVector& x, const Matrix& H, const ColumnVector& c, | |
64 const LinConst& lc) : QP (x, H, c, lc) { set_default_options (); } | |
65 | |
66 QLD (const ColumnVector& x, const Matrix& H, const Bounds& b, | |
67 const LinConst& lc) : QP (x, H, b, lc) { set_default_options (); } | |
68 | |
69 QLD (const ColumnVector& x, const Matrix& H, const ColumnVector& c, | |
70 const Bounds& b, const LinConst& lc) : QP (x, H, c, b, lc) | |
71 { set_default_options (); } | |
72 | |
73 QLD (const QLD& a) : QP (a.x, a.H, a.c, a.bnds, a.lc) | |
54 { set_default_options (); } | 74 { set_default_options (); } |
55 | 75 |
56 QLD (const Vector& x, const Matrix& H, const LinConst& lc) : QP (x, H, lc) | 76 QLD& operator = (const QLD& a) |
57 { set_default_options (); } | 77 { |
78 x = a.x; | |
79 H = a.H; | |
80 c = a.c; | |
81 bnds = a.bnds; | |
82 lc = a.lc; | |
83 iprint = a.iprint; | |
58 | 84 |
59 QLD (const Vector& x, const Matrix& H, const Vector& c, const Bounds& b) | 85 return *this; |
60 : QP (x, H, c, b) { set_default_options (); } | 86 } |
61 | 87 |
62 QLD (const Vector& x, const Matrix& H, const Vector& c, const LinConst& lc) | 88 ColumnVector minimize (double& objf, int& inform); |
63 : QP (x, H, c, lc) { set_default_options (); } | |
64 | |
65 QLD (const Vector& x, const Matrix& H, const Bounds& b, const LinConst& lc) | |
66 : QP (x, H, b, lc) { set_default_options (); } | |
67 | |
68 QLD (const Vector& x, const Matrix& H, const Vector& c, const Bounds& b, | |
69 const LinConst& lc) | |
70 : QP (x, H, c, b, lc) { set_default_options (); } | |
71 | |
72 QLD (const QLD& a); | |
73 | |
74 QLD& operator = (const QLD& a); | |
75 | |
76 Vector minimize (double& objf, int& inform); | |
77 | 89 |
78 private: | 90 private: |
79 void set_default_options (void); | 91 void set_default_options (void); |
80 int iprint; | 92 int iprint; |
81 }; | 93 }; |
82 | |
83 inline QLD::QLD (const QLD& a) : QP (a.x, a.H, a.c, a.bnds, a.lc) | |
84 { set_default_options (); } | |
85 | |
86 inline QLD& | |
87 QLD::operator = (const QLD& a) | |
88 { | |
89 x = a.x; | |
90 H = a.H; | |
91 c = a.c; | |
92 bnds = a.bnds; | |
93 lc = a.lc; | |
94 iprint = a.iprint; | |
95 return *this; | |
96 } | |
97 | 94 |
98 #endif | 95 #endif |
99 | 96 |
100 /* | 97 /* |
101 ;;; Local Variables: *** | 98 ;;; Local Variables: *** |