TooN 2.1
Classes | Namespaces | Functions
TooN internals

Classes

struct  Square< R, C >
 Provides the static size for a square matrix. In the general case, if R != C, then the matrix is not square and so no size is provided. A compile error results. More...
struct  Square< R, R >
 Provides the static size for a square matrix where both dimensions are the same. More...
struct  Square< R, Dynamic >
 Provides the static size for a square matrix where one dimension is static. The size must be equal to the size of the static dimension. More...
struct  Square< Dynamic, C >
 Provides the static size for a square matrix where one dimension is static. The size must be equal to the size of the static dimension. More...
struct  Square< Dynamic, Dynamic >
 Provides the static size for a square matrix where both dimensions are dynamic. The size must be Dynamic. More...
struct  ComputeSymEigen< Size >
 Compute eigensystems for sizes > 2 Helper struct for computing eigensystems, to allow for specialization on 2x2 matrices. More...
struct  ComputeSymEigen< 2 >
 Compute 2x2 eigensystems Helper struct for computing eigensystems, specialized on 2x2 matrices. More...
struct  ComputeSymEigen< 3 >
 Compute 3x3 eigensystems Helper struct for computing eigensystems, specialized on 3x3 matrices. More...
struct  Slicing
 A tag used to indicate that a slice is being constructed. More...
struct  Operator< T >
 This is a struct used heavily in TooN internals. More...
class  StaticSizedAllocator< Size, Precision >
 This allocator object sets aside memory for a statically sized object. It will put all the data on the stack if there are less then TooN::max_bytes_on_stack of data, otherwise it will use new/delete. More...
struct  VectorAlloc< Size, Precision >
 Allocate memory for a static sized Vector. The class switches to heap allocation automatically for large Vectors. Naturally, the vector is not resizable. More...
struct  VectorAlloc< Dynamic, Precision >
 Allocate memory for a dynamic sized Vector. This is not resizable. More...
struct  VectorAlloc< Resizable, Precision >
 Allocate memory for a resizable Vector. New elements available after a resize are treated as uninitialized. More...
struct  VectorSlice< S, Precision, PtrType, ConstPtrType, RefType, ConstRefType >
 Hold a pointer to yield a statically sized slice of a Vector. Not resizable. More...
struct  VectorSlice< Dynamic, Precision, PtrType, ConstPtrType, RefType, ConstRefType >
 Hold a pointer to yield a dynamically sized slice of a Vector. Not resizable. More...
struct  SizeHolder< s >
 This struct holds a size using no data for static sizes. This struct holds a size is the size is dynamic, or simply recorcs the number in the type system if the size is static. More...
struct  SizeHolder<-1 >
 This struct holds a size integer for dynamic sizes. More...
struct  RowSizeHolder< S >
struct  ColSizeHolder< S >
struct  Operator< Internal::Data< N, P > >
 Object which fills a matrix some data. There is no size known, since the size of the data is known at compile time. Therefore if the size of the matrix is not known, then something deeply strange is going on. More...
struct  One
 This class represents 1 and only in all its forms. More...
struct  NegType< C >
 For an instance i of type C, what is the type of -i? Usually the answer is that is it the same type. More...
struct  NegType< One >
 The type of -One. More...
struct  Field< Internal::One, Rhs >
 Does One behave as a field with respect to Rhs? Answer: it does is Rhs forms a field. More...
struct  Field< Lhs, Internal::One >
 Does One behave as a field with respect to Lhs? Answer: it does is Lhs forms a field. More...
struct  Operator< Internal::Zero >
 Object which behaves like a block of zeros. See TooN::Zeros. More...
struct  Operator< Internal::RCZero >
 Variant of the Zeros object which holds two sizes for constructing dynamic matrices. More...
struct  Operator< Internal::SizedZero >
 Variant of the Zeros object which holds a size for constructing dynamic vectors. More...
struct  Operator< Internal::AddIdentity< R, C, P, B, Precision > >
 Operator to construct a new matrix with idendity added. More...
struct  Operator< Internal::Identity< Pr > >
 Object which behaves like an Identity matrix. See TooN::Identity. More...
struct  Operator< Internal::SizedIdentity< Precision > >
 A variant of Identity which holds a size, allowing dynamic matrices to be constructed. More...
struct  Operator< Internal::ScalarsVector< S, P, B, Precision > >
 Operator to construct a new vector a a vector with a scalar added to every element. More...
struct  Operator< Internal::ScalarsMatrix< R, C, P, B, Precision > >
 Operator to construct a new matrix a a matrix with a scalar added to every element. More...
struct  Operator< Internal::Scalars< P > >
 Generic scalars object. Knows how to be added, knows how to deal with += and so on. See TooN::Ones. More...
struct  Operator< Internal::SizedScalars< P > >
 Variant of the Operator<Internal::Scalars> object which holds a size to construct dynamic vectors or square matrices. More...
struct  Operator< Internal::RCScalars< P > >
 Variant of Scalars (see TooN::Ones) which holds two sizes to construct dynamic matrices. More...
struct  BadSlice< 0 >
 A static slice is OK. This class is used after it has been determined that a slice is OK. It does nothing except provide a callable function. By contrast, if the slice is not OK, then the class is not specified and the function is therefore not callable, and a compile error results. More...
struct  CheckSlice< Size, Start, Length >
 Check if a slice is OK. This class is used to see if a slice is OK. It provides a callable function which checks the run-time slice information. If the compile time information is bad, then it will not compile at all. Otherwise, the sizes are checked at run-time. The check will be optimized away if the sizes are known statically. More...
struct  CentralDifferenceGradient< Functor, Precision, Size, Base >
 Functor wrapper for computing finite differences along an axis. More...
struct  CentralDifferenceSecond< Functor, Precision, Size, Base >
 Functor wrapper for computing finite difference second derivatives along an axis. More...
struct  CentralCrossDifferenceSecond< Functor, Precision, Size, Base >
 Functor wrapper for computing finite difference cross derivatives along a pair of axes. More...

Namespaces

namespace  TooN

Functions

template<class F , class Precision >
std::pair< Precision, Precision > extrapolate_to_zero (F &f)

Function Documentation

std::pair<Precision, Precision> TooN::Internal::extrapolate_to_zero ( F &  f)

Implementation of Ridder's Extrapolation to zero. The function input starts from 1.

Parameters:
fFunctor to extrapolate to zero.

References TooN::isfinite(), and TooN::isnan().