Classes | |
struct | Square |
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 | Size3 |
class | accumulate_functor_vector |
class | accumulate_element_functor_vector |
class | accumulate_functor_matrix |
class | accumulate_element_functor_matrix |
class | accumulate_vertical_functor |
class | accumulate_element_vertical_functor |
class | accumulate_horizontal_functor |
class | accumulate_element_horizontal_functor |
struct | ComputeSymEigen |
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 | Slicing |
A tag used to indicate that a slice is being constructed. More... | |
struct | StaticEndMarker |
Used to mark slice to some offset before the end of a vector. The offset is known at compile time. More... | |
struct | DynamicEndMarker |
Used to mark slice to some offset before the end of a vector. The offset is known at run time. More... | |
struct | LineSearch |
Turn a multidimensional function in to a 1D function by specifying a point and direction. More... | |
class | StackOrHeap< Size, Precision, 0 > |
class | StackOrHeap< Size, double, 0 > |
class | StackOrHeap< Size, Precision, 1 > |
class | StaticSizedAllocator |
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 |
Allocate memory for a Vector. More... | |
struct | VectorAlloc< Dynamic, Precision > |
struct | VectorAlloc< Resizable, Precision > |
struct | VectorSlice |
struct | VectorSlice<-1, Precision > |
struct | SizeHolder |
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 |
struct | ColSizeHolder |
struct | MatrixAlloc |
struct | MatrixAlloc< R, C, Precision, false > |
struct | MatrixSlice |
struct | StrideHolder |
struct | StrideHolder<-1 > |
struct | RowStrideHolder |
struct | ColStrideHolder |
struct | VectorFiller |
struct | VectorStartFill |
struct | MatrixFiller |
struct | MatrixStartFill |
struct | DCheck |
struct | DCheck<-1 > |
struct | Slice |
struct | DiagSize |
struct | DiagSize< Rows, Cols, 0 > |
struct | DiagStride |
struct | DiagStride< Rs, Cs, 0 > |
struct | GenericMBase |
struct | One |
This class represents 1 and only in all its forms. More... | |
struct | NegType |
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< One, Rhs > |
Does One behave as a field with respect to Rhs? More... | |
struct | Field< Lhs, One > |
Does One behave as a field with respect to Lhs? More... | |
struct | Field |
struct | AddType |
struct | SubtractType |
struct | MultiplyType |
struct | DivideType |
struct | AddType< L, R, 0 > |
struct | SubtractType< L, R, 0 > |
struct | MultiplyType< L, R, 0 > |
struct | DivideType< L, R, 0 > |
struct | Add |
struct | Subtract |
struct | Multiply |
struct | Divide |
struct | Sizer |
struct | Sizer<-1, i > |
struct | Sizer< i,-1 > |
struct | Sizer<-1,-1 > |
struct | overfill< 0 > |
struct | CheckOverFill |
struct | CheckOverFill< N,-1 > |
struct | CheckMOverFill |
struct | CheckMOverFill< N, R, C, 1 > |
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 |
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 | SliceVBase |
struct | VBase |
struct | GenericVBase |
struct | CentralDifferenceGradient |
Functor wrapper for computing finite differences along an axis. More... | |
struct | CentralDifferenceSecond |
Functor wrapper for computing finite difference second derivatives along an axis. More... | |
struct | CentralCrossDifferenceSecond |
Functor wrapper for computing finite difference cross derivatives along a pair of axes. More... | |
Functions | |
template<int R, int C, typename P , typename B > | |
Matrix< R, C, P > | exp_taylor (const Matrix< R, C, P, B > &m) |
template<int Size, typename Precision , typename Base , typename Func , typename Ret > | |
Ret | accumulate (const Vector< Size, Precision, Base > &v) |
template<int R, int C, typename Precision , typename Base , typename Func , typename Ret > | |
Ret | accumulate (const Matrix< R, C, Precision, Base > &m) |
template<int R, int C, typename Precision , typename Base , typename Func , typename Ret > | |
Ret | accumulate_horizontal (const Matrix< R, C, Precision, Base > &m) |
template<int R, int C, typename Precision , typename Base , typename Func , typename Ret > | |
Ret | accumulate_vertical (const Matrix< R, C, Precision, Base > &m) |
template<typename Precision , typename Func > | |
Matrix< 3, 2, Precision > | bracket_minimum_forward (Precision a_val, const Func &func, Precision initial_lambda, Precision zeps) |
static void | check_index (int, int) |
template<class P > | |
static void | debug_initialize (P *, int) |
template<class Rhs > | |
Rhs | operator* (One, const Rhs &v) |
template<class Lhs > | |
Lhs | operator* (const Lhs &v, One) |
template<class Rhs > | |
Rhs | operator+ (One, const Rhs &v) |
template<class Lhs > | |
Lhs | operator+ (const Lhs &v, One) |
template<class Rhs > | |
Rhs | operator- (One, const Rhs &v) |
template<class Lhs > | |
Lhs | operator- (const Lhs &v, One) |
int | operator- (const One &) |
template<class C > | |
C | gettype () |
template<class F , class Precision > | |
std::pair< Precision, Precision > | extrapolate_to_zero (F &f) |
Variables | |
static const double | symeigen_condition_no = 1e9 |
static const unsigned int | max_bytes_on_stack = 1000 |
For internal use only.
Matrix<R, C, P> TooN::Internal::exp_taylor | ( | const Matrix< R, C, P, B > & | m | ) |
Exponentiate a matrix using a the Taylor series This will not work if the norm of the matrix is too large.
For internal use only.
References TooN::Identity, TooN::norm_inf(), Matrix< Rows, Cols, Precision, Layout >::num_cols(), Matrix< Rows, Cols, Precision, Layout >::num_rows(), and TooN::Zeros.
Referenced by TooN::exp().
static void TooN::Internal::check_index | ( | int | , | |
int | ||||
) | [static] |
For internal use only.
Function used to check bounds. By default it does nothing. See What debugging options are there?.
static void TooN::Internal::debug_initialize | ( | P * | , | |
int | ||||
) | [static] |
This function is called on any uninitialized data. By default, no action is taken. See What debugging options are there?.
For internal use only.
Rhs TooN::Internal::operator* | ( | One | , | |
const Rhs & | v | |||
) |
Multiplies One by something.
Lhs TooN::Internal::operator* | ( | const Lhs & | v, | |
One | ||||
) |
Multiplies something by One.
Rhs TooN::Internal::operator+ | ( | One | , | |
const Rhs & | v | |||
) |
Adds something to One.
Lhs TooN::Internal::operator+ | ( | const Lhs & | v, | |
One | ||||
) |
Adds One to something.
Rhs TooN::Internal::operator- | ( | One | , | |
const Rhs & | v | |||
) |
Subtracts something from One.
Lhs TooN::Internal::operator- | ( | const Lhs & | v, | |
One | ||||
) |
Subtracts One from something.
int TooN::Internal::operator- | ( | const One & | ) |
Returns negative One.
C TooN::Internal::gettype | ( | ) |
For internal use only.
This function offers to return a value of type C. This function is not implemented anywhere, the result is used for type deduction.
const double symeigen_condition_no = 1e9 [static] |
Default condition number for SymEigen::backsub, SymEigen::get_pinv and SymEigen::get_inv_diag.
Referenced by SymEigen< Size, Precision >::backsub().
const unsigned int max_bytes_on_stack = 1000 [static] |
Maximum number of bytes to be allocated on the stack. new is used above this number.
For internal use only.