File indexing completed on 2026-06-02 08:48:23
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef VECTORCOMPLEX4D_H_
0009 #define VECTORCOMPLEX4D_H_
0010
0011 #include <complex>
0012
0013 #include "VectorComplexD.h"
0014
0015 namespace NumA {
0016
0017
0018
0019
0020
0021
0022
0023
0024 class VectorComplex4D: public VectorComplexD {
0025
0026 public:
0027
0028
0029
0030
0031 VectorComplex4D();
0032
0033
0034
0035
0036
0037 VectorComplex4D(const VectorComplex4D& v);
0038
0039
0040
0041
0042
0043 VectorComplex4D(const VectorComplexD& v);
0044
0045
0046
0047
0048 ~VectorComplex4D();
0049
0050
0051
0052
0053 virtual void operator=(const VectorComplex4D& v);
0054
0055
0056
0057
0058 virtual VectorComplex4D operator+(const VectorComplex4D& rhs);
0059
0060
0061
0062
0063 virtual VectorComplex4D operator-(const VectorComplex4D& rhs);
0064
0065
0066
0067
0068 virtual VectorComplex4D operator*(const double& rhs);
0069
0070
0071
0072
0073 friend VectorComplex4D operator*(const double& lhs, VectorComplex4D& rhs);
0074
0075
0076
0077
0078 virtual VectorComplex4D operator*(const std::complex<double>& rhs);
0079
0080
0081
0082
0083 friend VectorComplex4D operator*(const std::complex<double>& lhs,
0084 VectorComplex4D& rhs);
0085 };
0086
0087 }
0088
0089 #endif