Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #if !defined (octave_FloatComplexGEPBALANCE_h)
00024 #define octave_FloatComplexGEPBALANCE_h 1
00025
00026 #include <iosfwd>
00027 #include <string>
00028
00029 #include "fMatrix.h"
00030 #include "fCMatrix.h"
00031
00032 class
00033 OCTAVE_API
00034 FloatComplexGEPBALANCE
00035 {
00036 public:
00037
00038 FloatComplexGEPBALANCE (void)
00039 : balanced_mat (), balanced_mat2 (), balancing_mat (), balancing_mat2 ()
00040 { }
00041
00042 FloatComplexGEPBALANCE (const FloatComplexMatrix& a,
00043 const FloatComplexMatrix& b,
00044 const std::string& balance_job)
00045 : balanced_mat (), balanced_mat2 (), balancing_mat (), balancing_mat2 ()
00046 {
00047 init (a, b, balance_job);
00048 }
00049
00050 FloatComplexGEPBALANCE (const FloatComplexGEPBALANCE& a)
00051 : balanced_mat (a.balanced_mat), balanced_mat2 (a.balanced_mat2),
00052 balancing_mat (a.balancing_mat), balancing_mat2 (a.balancing_mat2)
00053 { }
00054
00055 FloatComplexGEPBALANCE& operator = (const FloatComplexGEPBALANCE& a)
00056 {
00057 if (this != &a)
00058 {
00059 balanced_mat = a.balanced_mat;
00060 balanced_mat2 = a.balanced_mat2;
00061 balancing_mat = a.balancing_mat;
00062 balancing_mat2 = a.balancing_mat2;
00063 }
00064 return *this;
00065 }
00066
00067 ~FloatComplexGEPBALANCE (void) { }
00068
00069 FloatComplexMatrix balanced_matrix (void) const { return balanced_mat; }
00070
00071 FloatComplexMatrix balanced_matrix2 (void) const { return balanced_mat2; }
00072
00073 FloatMatrix balancing_matrix (void) const { return balancing_mat; }
00074
00075 FloatMatrix balancing_matrix2 (void) const { return balancing_mat2; }
00076
00077 friend std::ostream& operator << (std::ostream& os, const FloatComplexGEPBALANCE& a);
00078
00079 private:
00080
00081 FloatComplexMatrix balanced_mat;
00082 FloatComplexMatrix balanced_mat2;
00083 FloatMatrix balancing_mat;
00084 FloatMatrix balancing_mat2;
00085
00086 octave_idx_type init (const FloatComplexMatrix& a, const FloatComplexMatrix& b,
00087 const std::string& balance_job);
00088 };
00089
00090 #endif