Class Jones
-
template<typename T>
class Jones Jones matrices are 2x2 matrices with complex elements.
Public Functions
-
inline Jones(std::complex<T> j00_, std::complex<T> j01_, std::complex<T> j10_, std::complex<T> j11_)
Construct from std::complex<T>.
-
template<typename U>
inline Jones &operator=(const Jones<U> &s) Set this instance equal to another Jones
-
template<typename U>
inline Jones &operator*=(const std::complex<U> &au) Multiply this instance by std::complex
-
template<typename U>
inline Jones &operator/=(const std::complex<U> &au) Divide this instance by std::complex
-
inline std::complex<T> &operator()(unsigned ir, unsigned ic)
Returns reference to the value of the matrix at j(ir,ic).
-
inline const std::complex<T> &operator()(unsigned ir, unsigned ic) const
Returns const reference to the value of the matrix at j(ir,ic).
-
inline bool is_diagonal() const
Return true if the off-diagonal elements are zero.
-
inline unsigned size() const
Dimension of data.
Friends
-
template<typename U>
inline friend Jones operator*(Jones a, std::complex<U> c) Binary multiplication of Jones<T> and std::complex
-
template<typename U>
inline friend Jones operator*(std::complex<U> c, Jones a) Binary multiplication of std::complex
-
inline Jones(std::complex<T> j00_, std::complex<T> j01_, std::complex<T> j10_, std::complex<T> j11_)