Classes | |
class | EKFilter |
Generic Extended Kalman Filter (EKF) template base class. More... | |
class | KFilter |
Generic Linear Kalman Filter template base class. More... | |
class | KMatrix |
Minimalist matrix template class. More... | |
class | KMatrixContextImpl |
Contains necessary informations to print a formatted KMatrix . More... | |
struct | KalmanError |
Base class for all exceptions thrown in the Kalman namespace. More... | |
struct | OutOfBoundError |
Exception class for access to out-of-bound elements. More... | |
class | KVector |
Minimalist vector template class. More... | |
class | KVectorContextImpl |
Contains necessary informations to print a formatted KVector . More... | |
Namespaces | |
namespace | Util |
Nested namespace in Kalman to avoid name clash with std::swap . | |
Typedefs | |
typedef unsigned short | KMatrixContext |
Handle type to a matrix printing context. | |
typedef short int | K_INT_16 |
Signed 16-bits integral type. | |
typedef unsigned short int | K_UINT_16 |
Unsigned 16-bits integral type. | |
typedef long int | K_INT_32 |
Signed 32-bits integral type. | |
typedef unsigned long int | K_UINT_32 |
Unsigned 32-bits integral type. | |
typedef float | K_REAL_32 |
32-bits floating point type | |
typedef double | K_REAL_64 |
64-bits floating point type | |
typedef unsigned short | KVectorContext |
Handle type to a vector printing context. | |
Functions | |
KVectorContext | createKVectorContext (std::string elemDelim=" ", std::string startDelim="", std::string endDelim="", unsigned prec=4) |
Creates a vector printing context. | |
KVectorContext | selectKVectorContext (KVectorContext c) |
Selects a vector printing context as the current context. | |
KMatrixContext | createKMatrixContext (std::string elemDelim=" ", std::string rowDelim="\n", std::string startDelim="", std::string endDelim="", unsigned prec=4) |
Creates a matrix printing context. | |
KMatrixContext | selectKMatrixContext (KMatrixContext c) |
Selects a matrix printing context as the current context. | |
template<typename T, K_UINT_32 BEG, bool DBG> | |
std::istream & | operator>> (std::istream &is, KMatrix< T, BEG, DBG > &M) |
Reads a matrix from a stream. | |
template<typename T, K_UINT_32 BEG, bool DBG> | |
std::ostream & | operator<< (std::ostream &os, const KMatrix< T, BEG, DBG > &M) |
Writes a matrix to a stream. | |
template<typename T, K_UINT_32 BEG, bool DBG> | |
std::istream & | operator>> (std::istream &is, KVector< T, BEG, DBG > &v) |
Reads a vector from a stream. | |
template<typename T, K_UINT_32 BEG, bool DBG> | |
std::ostream & | operator<< (std::ostream &os, const KVector< T, BEG, DBG > &v) |
Writes a vector to a stream. | |
Variables | |
KMatrixContext | DEFAULT_MATRIX_CONTEXT = 0 |
Default matrix printing context object. | |
KMatrixContextImpl * | currentMatrixContext = &matrixContexts[0] |
Refers to the currently selected matrix printing context. | |
KVectorContext | DEFAULT_VECTOR_CONTEXT = 0 |
Default vector printing context object. | |
KVectorContextImpl * | currentVectorContext = &vectorContexts[0] |
Refers to the currently selected vector printing context. |
The Kalman filtering template classes make use of traditional vector and matrix template classes. Since Kalman filtering is mainly used in numeric applications, the presence of another library of vectors and matrices is probable. To avoid name clashes, the Kalman
namespace contains everything.
|
Creates a vector printing context. This function creates a new vector printing context and adds it to the global list of vector contexts. In the discussion below, a whitespace refers to a single character among the following : a horizontal space, a horizontal tabulation, a linefeed or a carriage return.
|
|
Selects a vector printing context as the current context.
|
|
Creates a matrix printing context. This function creates a new matrix printing context and adds it to the global list of matrix contexts. In the discussion below, a whitespace refers to a single character among the following : a horizontal space, a horizontal tabulation, a linefeed or a carriage return.
|
|
Selects a matrix printing context as the current context.
|
|
Reads a matrix from a stream.
|
|
Writes a matrix to a stream.
|
|
Reads a vector from a stream.
|
|
Writes a vector to a stream.
|
|
Refers to the currently selected matrix printing context.
|
|
Refers to the currently selected vector printing context.
|