#include <Jones.h>
Public Types | |
| enum | JonesType { General, GenLinear, Diagonal, Scalar } |
Public Member Functions | |
| Jones () | |
| Construct. | |
| virtual | ~Jones () |
| Dtor. | |
| virtual JonesType | type () const |
| Return type id. | |
| virtual Int | typesize () const |
| void | setScalarData (Bool scalardata) const |
| Set scalardata_ TBD: Handle this better; for now, we need to set this from an external call so we handle single-corr data properly when setting non-corr-dep flags. | |
| void | sync (Complex &mat) |
| Synchronize with leading element in external array. | |
| void | sync (Complex &mat, Bool &ok) |
| void | origin () |
| Reset to origin. | |
| void | operator++ () |
| Increment to next matrix (according to type). | |
| void | operator++ (int) |
| void | advance (const Int &step) |
| Advance step matrices forward (according to typesize). | |
| virtual void | invert () |
| In-place invert. | |
| virtual void | setMatByOk () |
| Set matrix elements according to ok flag (so we don't have to check ok flags atomically in apply). | |
| virtual void | operator*= (const Jones &other) |
| In-place multipication with another Jones. | |
| virtual void | applyRight (VisVector &v) const |
| Apply rightward to a VisVector. | |
| virtual void | applyRight (VisVector &v, Bool &vflag) const |
| virtual void | applyLeft (VisVector &v) const |
| Apply leftward (transposed) to a VisVector. | |
| virtual void | applyLeft (VisVector &v, Bool &vflag) const |
| virtual void | applyFlag (Bool &vflag) const |
| Set flags according to solution flags. | |
| virtual void | flagRight (VisVector &v) const |
| virtual void | flagLeft (VisVector &v) const |
Protected Member Functions | |
| Jones (const Jones &mat) | |
| Copy ctor protected. | |
Protected Attributes | |
| Complex * | j0_ |
| Pointer to origin. | |
| Bool * | ok0_ |
| Complex * | j_ |
| Moving pointer. | |
| Complex * | ji_ |
| Bool * | ok_ |
| Bool * | oki_ |
| const Complex | cOne_ |
| Complex unity, zero. | |
| const Complex | cZero_ |
| Bool | scalardata_ |
| Is data scalar? | |
Private Member Functions | |
| virtual void | zero () |
| Zero the Jones matrix. | |
Private Attributes | |
| VisVector | vtmp_ |
| Temporary VisVector. | |
Friends | |
| class | Mueller |
| Give access to Mueller formation method. | |
| class | MuellerDiag |
| class | MuellerDiag2 |
| class | MuellerScal |
| class | JonesDiag |
| class | JonesScal |
| ostream & | operator<< (ostream &os, const Jones &mat) |
| print it out | |
Definition at line 40 of file Jones.h.
| casa::Jones::Jones | ( | ) |
Construct.
| casa::Jones::Jones | ( | const Jones & | mat | ) | [protected] |
Copy ctor protected.
| void casa::Jones::advance | ( | const Int & | step | ) | [inline] |
Advance step matrices forward (according to typesize).
Definition at line 74 of file Jones.h.
References j_, ok_, and typesize().
| virtual void casa::Jones::applyFlag | ( | Bool & | vflag | ) | const [virtual] |
Set flags according to solution flags.
Reimplemented in casa::JonesGenLin, casa::JonesDiag, and casa::JonesScal.
| virtual void casa::Jones::applyLeft | ( | VisVector & | v, | |
| Bool & | vflag | |||
| ) | const [virtual] |
Reimplemented in casa::JonesGenLin, casa::JonesDiag, and casa::JonesScal.
| virtual void casa::Jones::applyLeft | ( | VisVector & | v | ) | const [virtual] |
Apply leftward (transposed) to a VisVector.
Reimplemented in casa::JonesGenLin, casa::JonesDiag, and casa::JonesScal.
| virtual void casa::Jones::applyRight | ( | VisVector & | v, | |
| Bool & | vflag | |||
| ) | const [virtual] |
Reimplemented in casa::JonesGenLin, casa::JonesDiag, and casa::JonesScal.
| virtual void casa::Jones::applyRight | ( | VisVector & | v | ) | const [virtual] |
Apply rightward to a VisVector.
Reimplemented in casa::JonesGenLin, casa::JonesDiag, and casa::JonesScal.
| virtual void casa::Jones::flagLeft | ( | VisVector & | v | ) | const [virtual] |
Reimplemented in casa::JonesGenLin, casa::JonesDiag, and casa::JonesScal.
| virtual void casa::Jones::flagRight | ( | VisVector & | v | ) | const [virtual] |
Reimplemented in casa::JonesGenLin, casa::JonesDiag, and casa::JonesScal.
| virtual void casa::Jones::invert | ( | ) | [virtual] |
In-place invert.
Reimplemented in casa::JonesGenLin, casa::JonesDiag, and casa::JonesScal.
| virtual void casa::Jones::operator*= | ( | const Jones & | other | ) | [virtual] |
In-place multipication with another Jones.
| void casa::Jones::operator++ | ( | int | ) | [inline] |
Definition at line 71 of file Jones.h.
References j_, ok_, and typesize().
| void casa::Jones::operator++ | ( | ) | [inline] |
Increment to next matrix (according to type).
Definition at line 70 of file Jones.h.
References j_, ok_, and typesize().
| void casa::Jones::origin | ( | ) | [inline] |
| virtual void casa::Jones::setMatByOk | ( | ) | [virtual] |
Set matrix elements according to ok flag (so we don't have to check ok flags atomically in apply).
Reimplemented in casa::JonesGenLin, casa::JonesDiag, and casa::JonesScal.
| void casa::Jones::setScalarData | ( | Bool | scalardata | ) | const [inline] |
Set scalardata_ TBD: Handle this better; for now, we need to set this from an external call so we handle single-corr data properly when setting non-corr-dep flags.
Definition at line 60 of file Jones.h.
References scalardata_.
| void casa::Jones::sync | ( | Complex & | mat, | |
| Bool & | ok | |||
| ) | [inline] |
| void casa::Jones::sync | ( | Complex & | mat | ) | [inline] |
| virtual JonesType casa::Jones::type | ( | ) | const [inline, virtual] |
Return type id.
Reimplemented in casa::JonesGenLin, casa::JonesDiag, and casa::JonesScal.
Definition at line 53 of file Jones.h.
References General.
| virtual Int casa::Jones::typesize | ( | ) | const [inline, virtual] |
Reimplemented in casa::JonesGenLin, casa::JonesDiag, and casa::JonesScal.
Definition at line 54 of file Jones.h.
Referenced by advance(), and operator++().
| virtual void casa::Jones::zero | ( | ) | [private, virtual] |
Zero the Jones matrix.
Reimplemented in casa::JonesGenLin, casa::JonesDiag, and casa::JonesScal.
friend class Mueller [friend] |
friend class MuellerDiag [friend] |
Reimplemented in casa::JonesGenLin, and casa::JonesDiag.
friend class MuellerDiag2 [friend] |
Reimplemented in casa::JonesGenLin, and casa::JonesDiag.
friend class MuellerScal [friend] |
Reimplemented in casa::JonesScal.
| ostream& operator<< | ( | ostream & | os, | |
| const Jones & | mat | |||
| ) | [friend] |
print it out
const Complex casa::Jones::cOne_ [protected] |
const Complex casa::Jones::cZero_ [protected] |
Complex* casa::Jones::j0_ [protected] |
Complex* casa::Jones::j_ [protected] |
Moving pointer.
Definition at line 121 of file Jones.h.
Referenced by advance(), operator++(), and origin().
Complex * casa::Jones::ji_ [protected] |
Bool* casa::Jones::ok0_ [protected] |
Bool* casa::Jones::ok_ [protected] |
Definition at line 122 of file Jones.h.
Referenced by advance(), operator++(), and origin().
Bool * casa::Jones::oki_ [protected] |
Bool casa::Jones::scalardata_ [mutable, protected] |
VisVector casa::Jones::vtmp_ [private] |
1.6.1