![]() |
eXpress “1.5”
|
The CovarTable is a sparse matrix for storing and updating pairwise covariances between targets. More...
#include <bundles.h>
Public Member Functions | |
| CovarTable () | |
| CovarTable Constructor. | |
| void | increment (TargID targ1, TargID targ2, double covar) |
| A member function that increases the covariance between two targets by the specified amount (logged). | |
| double | get (TargID targ1, TargID targ2) |
| A member function that returns the covariance between two targets. | |
| size_t | size () const |
| A member function that returns the number of pairs of targets with non-zero covariance. | |
The CovarTable is a sparse matrix for storing and updating pairwise covariances between targets.
| double CovarTable::get | ( | TargID | targ1, |
| TargID | targ2 | ||
| ) |
A member function that returns the covariance between two targets.
The returned value will be the the negative of the true value (logged).
| targ1 | one of the targets in the pair. |
| targ2 | the other target in the pair. |
Definition at line 25 of file bundles.cpp.
| void CovarTable::increment | ( | TargID | targ1, |
| TargID | targ2, | ||
| double | covar | ||
| ) |
A member function that increases the covariance between two targets by the specified amount (logged).
These values are stored positive even though the true covariance is negative.
| targ1 | one of the targets in the pair. |
| targ2 | the other target in the pair. |
| covar | a double specifying the amount to increase the pair's covariance by (logged, positive). |
Definition at line 16 of file bundles.cpp.
| size_t CovarTable::size | ( | ) | const [inline] |