|
| Jones (T scalar=0.0) |
| Default constructor.
|
|
template<typename U > |
| Jones (const U &scalar) |
| Construct from a castable type.
|
|
| Jones (std::complex< T > j00_, std::complex< T > j01_, std::complex< T > j10_, std::complex< T > j11_) |
| Construct from std::complex<T>
|
|
| Jones (const Jones &s) |
| Construct from another Jones<T> matrix.
|
|
template<typename U > |
| Jones (const Jones< U > &s) |
| Construct from another Jones<U> matrix.
|
|
template<typename U > |
| Jones (const Matrix< 2, 2, std::complex< U > > &M) |
| Construct from a Matrix.
|
|
Jones & | operator= (const Jones &s) |
| Set this instance equal to another Jones<T> instance.
|
|
Jones & | operator= (T scalar) |
| Set this instance equal to a scalar.
|
|
Jones & | operator= (std::complex< T > scalar) |
| Set this instance equal to a complex scalar.
|
|
template<typename U > |
Jones & | operator= (const Jones< U > &s) |
| Set this instance equal to another Jones<U> instance.
|
|
| operator equiv () const |
| Cast to Matrix.
|
|
Jones & | operator+= (const Jones &s) |
| Add another Jones<T> instance to this one.
|
|
Jones & | operator-= (const Jones &s) |
| Subract another Jones<T> instance from this one.
|
|
Jones & | operator*= (const Jones &j) |
| Multiply another Jones<T> instance into this one (this=this*j)
|
|
template<typename U > |
Jones & | operator*= (const std::complex< U > &au) |
| Multiply this instance by std::complex<U>
|
|
template<typename U > |
Jones & | operator/= (const std::complex< U > &au) |
| Divide this instance by std::complex<U>
|
|
Jones & | operator*= (T a) |
| Multiply this instance by T.
|
|
Jones & | operator/= (T a) |
| Divide this instance by T.
|
|
bool | operator== (const Jones &b) const |
| Equality.
|
|
bool | operator!= (const Jones &b) const |
| Inequality.
|
|
std::complex< T > & | operator() (unsigned ir, unsigned ic) |
| Returns reference to the value of the matrix at j(ir,ic)
|
|
const std::complex< T > & | operator() (unsigned ir, unsigned ic) const |
| Returns const reference to the value of the matrix at j(ir,ic)
|
|
std::complex< T > & | operator[] (unsigned n) |
| Alternative access to elements.
|
|
const std::complex< T > & | operator[] (unsigned n) const |
| Alternative access to elements.
|
|
bool | is_diagonal () const |
| Return true if the off-diagonal elements are zero.
|
|
unsigned | size () const |
| Dimension of data.
|
|
T | p () const |
| Degree of polarization.
|
|
template<typename T>
class Jones< T >
Jones matrices are 2x2 matrices with complex elements.