#include <vectorterm.hh>
Inheritance diagram for RVLAlg::Norm2ThresholdTerminator< Scalar >:
Public Types | |
typedef ScalarFieldTraits< Scalar >::AbsType | NormRetType |
Public Member Functions | |
Norm2ThresholdTerminator (Vector< Scalar > &tx, NormRetType ttol) | |
virtual bool | query () |
Protected Attributes | |
Vector< Scalar > & | x |
NormRetType | tol |
STOP:
note: this is slightly cheaper than finding ||x|| < tol
Definition at line 168 of file vectorterm.hh.
typedef ScalarFieldTraits<Scalar>::AbsType RVLAlg::Norm2ThresholdTerminator< Scalar >::NormRetType |
Definition at line 170 of file vectorterm.hh.
RVLAlg::Norm2ThresholdTerminator< Scalar >::Norm2ThresholdTerminator | ( | Vector< Scalar > & | tx, | |
NormRetType | ttol | |||
) |
Definition at line 172 of file vectorterm.hh.
virtual bool RVLAlg::Norm2ThresholdTerminator< Scalar >::query | ( | ) | [virtual] |
Implements RVLAlg::Terminator.
Definition at line 174 of file vectorterm.hh.
References RVLAlg::Norm2ThresholdTerminator< Scalar >::tol, and RVLAlg::Norm2ThresholdTerminator< Scalar >::x.
Vector<Scalar>& RVLAlg::Norm2ThresholdTerminator< Scalar >::x [protected] |
Definition at line 179 of file vectorterm.hh.
Referenced by RVLAlg::Norm2ThresholdTerminator< Scalar >::query().
NormRetType RVLAlg::Norm2ThresholdTerminator< Scalar >::tol [protected] |
Definition at line 180 of file vectorterm.hh.
Referenced by RVLAlg::Norm2ThresholdTerminator< Scalar >::query().