Unit: i.i.d.
unit-variance noise on all m dimensions.
|
| Unit (size_t dim=1) |
| constructor for serialization
|
|
bool | isUnit () const override |
| true if a unit noise model, saves slow/clumsy dynamic casting More...
|
|
void | print (const std::string &name) const override |
|
double | squaredMahalanobisDistance (const Vector &v) const override |
| Squared Mahalanobis distance v'*R'*R*v = <R*v,R*v> More...
|
|
Vector | whiten (const Vector &v) const override |
| Whiten an error vector. More...
|
|
Vector | unwhiten (const Vector &v) const override |
| Unwhiten an error vector. More...
|
|
Matrix | Whiten (const Matrix &H) const override |
| Multiply a derivative with R (derivative of whiten) Equivalent to whitening each column of the input matrix. More...
|
|
void | WhitenInPlace (Matrix &) const override |
| In-place version. More...
|
|
void | WhitenInPlace (Eigen::Block< Matrix >) const override |
| In-place version. More...
|
|
void | whitenInPlace (Vector &) const override |
| in-place whiten, override if can be done more efficiently More...
|
|
void | unwhitenInPlace (Vector &) const override |
| in-place unwhiten, override if can be done more efficiently More...
|
|
void | whitenInPlace (Eigen::Block< Vector > &) const override |
| in-place whiten, override if can be done more efficiently More...
|
|
void | unwhitenInPlace (Eigen::Block< Vector > &) const override |
| in-place unwhiten, override if can be done more efficiently More...
|
|
void | print (const std::string &name) const override |
|
double | squaredMahalanobisDistance (const Vector &v) const override |
| Squared Mahalanobis distance v'*R'*R*v = <R*v,R*v> More...
|
|
Vector | whiten (const Vector &v) const override |
| Whiten an error vector. More...
|
|
Vector | unwhiten (const Vector &v) const override |
| Unwhiten an error vector. More...
|
|
Matrix | Whiten (const Matrix &H) const override |
| Multiply a derivative with R (derivative of whiten) Equivalent to whitening each column of the input matrix. More...
|
|
void | WhitenInPlace (Matrix &H) const override |
| In-place version. More...
|
|
void | whitenInPlace (Vector &v) const override |
| in-place whiten, override if can be done more efficiently More...
|
|
void | WhitenInPlace (Eigen::Block< Matrix > H) const override |
| In-place version. More...
|
|
double | sigma () const |
| Return standard deviation.
|
|
| Diagonal () |
| constructor - no initializations, for serialization
|
|
void | print (const std::string &name) const override |
|
Vector | sigmas () const override |
| Calculate standard deviations. More...
|
|
Vector | whiten (const Vector &v) const override |
| Whiten an error vector. More...
|
|
Vector | unwhiten (const Vector &v) const override |
| Unwhiten an error vector. More...
|
|
Matrix | Whiten (const Matrix &H) const override |
| Multiply a derivative with R (derivative of whiten) Equivalent to whitening each column of the input matrix. More...
|
|
void | WhitenInPlace (Matrix &H) const override |
| In-place version. More...
|
|
void | WhitenInPlace (Eigen::Block< Matrix > H) const override |
| In-place version. More...
|
|
double | sigma (size_t i) const |
| Return standard deviations (sqrt of diagonal)
|
|
const Vector & | invsigmas () const |
| Return sqrt precisions.
|
|
double | invsigma (size_t i) const |
|
const Vector & | precisions () const |
| Return precisions.
|
|
double | precision (size_t i) const |
|
Matrix | R () const override |
| Return R itself, but note that Whiten(H) is cheaper than R*H. More...
|
|
| Gaussian (size_t dim=1, const boost::optional< Matrix > &sqrt_information=boost::none) |
| constructor takes square root information matrix
|
|
void | print (const std::string &name) const override |
|
bool | equals (const Base &expected, double tol=1e-9) const override |
|
Vector | sigmas () const override |
| Calculate standard deviations. More...
|
|
Vector | whiten (const Vector &v) const override |
| Whiten an error vector. More...
|
|
Vector | unwhiten (const Vector &v) const override |
| Unwhiten an error vector. More...
|
|
Matrix | Whiten (const Matrix &H) const override |
| Multiply a derivative with R (derivative of whiten) Equivalent to whitening each column of the input matrix. More...
|
|
virtual void | WhitenInPlace (Matrix &H) const |
| In-place version. More...
|
|
virtual void | WhitenInPlace (Eigen::Block< Matrix > H) const |
| In-place version. More...
|
|
void | WhitenSystem (std::vector< Matrix > &A, Vector &b) const override |
| Whiten a system, in place as well. More...
|
|
void | WhitenSystem (Matrix &A, Vector &b) const override |
|
void | WhitenSystem (Matrix &A1, Matrix &A2, Vector &b) const override |
|
void | WhitenSystem (Matrix &A1, Matrix &A2, Matrix &A3, Vector &b) const override |
|
virtual boost::shared_ptr< Diagonal > | QR (Matrix &Ab) const |
| Apply appropriately weighted QR factorization to the system [A b] Q' * [A b] = [R d] Dimensions: (r*m) * m*(n+1) = r*(n+1), where r = min(m,n). More...
|
|
virtual Matrix | R () const |
| Return R itself, but note that Whiten(H) is cheaper than R*H. More...
|
|
virtual Matrix | information () const |
| Compute information matrix.
|
|
virtual Matrix | covariance () const |
| Compute covariance matrix.
|
|
| Base (size_t dim=1) |
| primary constructor More...
|
|
virtual bool | isConstrained () const |
| true if a constrained noise model, saves slow/clumsy dynamic casting More...
|
|
virtual bool | isUnit () const |
| true if a unit noise model, saves slow/clumsy dynamic casting More...
|
|
size_t | dim () const |
| Dimensionality.
|
|
virtual void | print (const std::string &name="") const =0 |
|
virtual bool | equals (const Base &expected, double tol=1e-9) const =0 |
|
virtual Vector | sigmas () const |
| Calculate standard deviations. More...
|
|
virtual Vector | whiten (const Vector &v) const =0 |
| Whiten an error vector. More...
|
|
virtual Matrix | Whiten (const Matrix &H) const =0 |
| Whiten a matrix. More...
|
|
virtual Vector | unwhiten (const Vector &v) const =0 |
| Unwhiten an error vector. More...
|
|
virtual double | squaredMahalanobisDistance (const Vector &v) const |
| Squared Mahalanobis distance v'*R'*R*v = <R*v,R*v> More...
|
|
virtual double | mahalanobisDistance (const Vector &v) const |
| Mahalanobis distance.
|
|
virtual double | loss (const double squared_distance) const |
| loss function, input is Mahalanobis distance More...
|
|
virtual void | WhitenSystem (std::vector< Matrix > &A, Vector &b) const =0 |
|
virtual void | WhitenSystem (Matrix &A, Vector &b) const =0 |
|
virtual void | WhitenSystem (Matrix &A1, Matrix &A2, Vector &b) const =0 |
|
virtual void | WhitenSystem (Matrix &A1, Matrix &A2, Matrix &A3, Vector &b) const =0 |
|
virtual void | whitenInPlace (Vector &v) const |
| in-place whiten, override if can be done more efficiently More...
|
|
virtual void | unwhitenInPlace (Vector &v) const |
| in-place unwhiten, override if can be done more efficiently More...
|
|
virtual void | whitenInPlace (Eigen::Block< Vector > &v) const |
| in-place whiten, override if can be done more efficiently More...
|
|
virtual void | unwhitenInPlace (Eigen::Block< Vector > &v) const |
| in-place unwhiten, override if can be done more efficiently More...
|
|
virtual Vector | unweightedWhiten (const Vector &v) const |
| Useful function for robust noise models to get the unweighted but whitened error. More...
|
|
virtual double | weight (const Vector &v) const |
| get the weight from the effective loss function on residual vector v More...
|
|
|
static shared_ptr | Create (size_t dim) |
| Create a unit covariance noise model.
|
|
static shared_ptr | Sigma (size_t dim, double sigma, bool smart=true) |
| An isotropic noise model created by specifying a standard devation sigma.
|
|
static shared_ptr | Variance (size_t dim, double variance, bool smart=true) |
| An isotropic noise model created by specifying a variance = sigma^2. More...
|
|
static shared_ptr | Precision (size_t dim, double precision, bool smart=true) |
| An isotropic noise model created by specifying a precision.
|
|
static shared_ptr | Sigmas (const Vector &sigmas, bool smart=true) |
| A diagonal noise model created by specifying a Vector of sigmas, i.e. More...
|
|
static shared_ptr | Variances (const Vector &variances, bool smart=true) |
| A diagonal noise model created by specifying a Vector of variances, i.e. More...
|
|
static shared_ptr | Precisions (const Vector &precisions, bool smart=true) |
| A diagonal noise model created by specifying a Vector of precisions, i.e. More...
|
|
static shared_ptr | SqrtInformation (const Matrix &R, bool smart=true) |
| A Gaussian noise model created by specifying a square root information matrix. More...
|
|
static shared_ptr | Information (const Matrix &M, bool smart=true) |
| A Gaussian noise model created by specifying an information matrix. More...
|
|
static shared_ptr | Covariance (const Matrix &covariance, bool smart=true) |
| A Gaussian noise model created by specifying a covariance matrix. More...
|
|