6 Zxx(0), Zxy(0), Zyx(0), Zyy(0), dZxx(0), dZxy(0), dZyx(0), dZyy(0), frequency(0), rotangle(
7 0), Rx(0), Ry(0), Nu(0)
12 const std::complex<double> &yx,
const std::complex<double> &yy,
const double freq,
14 Zxx(xx), Zxy(xy), Zyx(yx), Zyy(yy), dZxx(0), dZxy(0), dZyx(0), dZyy(0), frequency(
15 freq), rotangle(angle), Rx(0), Ry(0), Nu(0)
31 frequency = source.frequency;
32 rotangle = source.rotangle;
44 dcomp newxx, newxy, newyx, newyy;
45 const double ca2 = pow(cos(angle), 2);
46 const double sa2 = pow(sin(angle), 2);
47 const double casa = sin(angle) * cos(angle);
48 newxx = Zxx * ca2 - (Zxy + Zyx) * casa + Zyy * sa2;
49 newxy = Zxy * ca2 + (Zxx - Zyy) * casa - Zyx * sa2;
50 newyx = Zyx * ca2 + (Zxx - Zyy) * casa - Zxy * sa2;
51 newyy = Zyy * ca2 + (Zxy + Zyx) * casa + Zxx * sa2;
void Rotate(double angle)
Rotate by the given angle in radian.
Stores MT-Tensor components at a single frequency, calculates derived quantities. ...
MTTensor & operator=(const MTTensor &source)