Mercurial > hg > octave-nkf
diff liboctave/CmplxAEPBAL.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 | a744f4d0ba59 |
line wrap: on
line diff
--- a/liboctave/CmplxAEPBAL.h +++ b/liboctave/CmplxAEPBAL.h @@ -38,12 +38,30 @@ public: - ComplexAEPBALANCE (void) {} - ComplexAEPBALANCE (const ComplexMatrix& a, const char *balance_job); - ComplexAEPBALANCE (const ComplexAEPBALANCE& a); - ComplexAEPBALANCE& operator = (const ComplexAEPBALANCE& a); - ComplexMatrix balanced_matrix (void) const; - ComplexMatrix balancing_matrix (void) const; + ComplexAEPBALANCE (void) { } + + ComplexAEPBALANCE (const ComplexMatrix& a, const char * balance_job) + { + init (a, balance_job); + } + + ComplexAEPBALANCE (const ComplexAEPBALANCE& a) + { + balanced_mat = a.balanced_mat; + balancing_mat = a.balancing_mat; + } + + ComplexAEPBALANCE& operator = (const ComplexAEPBALANCE& a) + { + balanced_mat = a.balanced_mat; + balancing_mat = a.balancing_mat; + + return *this; + } + + ComplexMatrix balanced_matrix (void) const { return balanced_mat; } + + ComplexMatrix balancing_matrix (void) const { return balancing_mat; } friend ostream& operator << (ostream& os, const ComplexAEPBALANCE& a); @@ -55,37 +73,6 @@ ComplexMatrix balancing_mat; }; -inline ComplexAEPBALANCE::ComplexAEPBALANCE (const ComplexMatrix& a, - const char * balance_job) -{ - init (a, balance_job); -} - -inline ComplexAEPBALANCE::ComplexAEPBALANCE (const ComplexAEPBALANCE& a) -{ - balanced_mat = a.balanced_mat; - balancing_mat = a.balancing_mat; -} - -inline ComplexAEPBALANCE& -ComplexAEPBALANCE::operator = (const ComplexAEPBALANCE& a) -{ - balanced_mat = a.balanced_mat; - balancing_mat = a.balancing_mat; - - return *this; -} - -inline ComplexMatrix ComplexAEPBALANCE::balanced_matrix (void) const -{ - return balanced_mat; -} - -inline ComplexMatrix ComplexAEPBALANCE::balancing_matrix (void) const -{ - return balancing_mat; -} - #endif /*