|
Classes |
class | coco::basic_alltype |
| The basic alltype which can hold any of a number of basic types. More...
|
class | coco::control_data |
| The class for communicating parameter information to COCONUT modules. More...
|
class | coco::datamap |
| The base class for communicating with COCONUT modules. More...
|
class | coco::info_contents |
| The class for returning additional information from inference modules. More...
|
struct | coco::interval_st |
| Constructor-free interval. More...
|
class | coco::interval |
| Interval wrapper class. More...
|
class | coco::termination_reason |
| This class holds the reason of termination of inference and management modules. More...
|
class | gptr< _Tp > |
| Global pointer class. More...
|
class | ptr< _Tp > |
| Local global pointer class. More...
|
class | counted_ptr< _Tp > |
class | linalg::matrix< _Tp > |
| Sparse Matrix Template Class (row major). More...
|
class | linalg::c_matrix< _Tp > |
| Sparse Matrix Template Class (column major). More...
|
class | linalg::sparse_vector< _Tp > |
| Sparse Vector Template Class. More...
|
class | linalg::__linalg_cvec< _TS > |
| Adapter class for a const std::vector to a linear algebra vector. More...
|
class | linalg::__linalg_vec< _TS > |
| Adapter class for a std::vector to a linear algebra vector. More...
|
Defines |
#define | BASIC_ALLTYPE_CHECK 1 |
#define | BASIC_ALLTYPE_ASSERT(A) |
#define | BASIC_ALLTYPE_ASSERT2(A, B) |
#define | BASIC_ALLTYPE_FIX_EMPTY_VECTOR(CT, T) |
#define | linalg_trans(A) mtl::trans((A)) |
#define | linalg_scale(X, Y) mtl::scaled(X, Y) |
Typedefs |
typedef basic_alltype | coco::additional_info_u |
| type definition for backwards compatibility with earlier API versions
|
Enumerations |
enum | linalg::linalg_output_format { linalg::linalg_output_sparse,
linalg::linalg_output_full
} |
| The possible output formats of a matrix. More...
|
Functions |
void | coco::set_translation_map (const std::map< std::string, std::string > &tr_msg_map) |
| A datamap function for setting the message translation map.
|
const std::string & | coco::get_translated_message (const std::string &msg) |
| A datamap function for message translation.
|
template<class _Tp > |
matrix< _Tp > | linalg::operator+ (const matrix< _Tp > &A, const matrix< _Tp > &B) |
| Sparse matrix addition operator.
|
template<class _Tp > |
matrix< _Tp > | linalg::operator* (_Tp a, const matrix< _Tp > &B) |
| Sparse scalar matrix multiplication operator.
|
template<class _Tp > |
c_matrix< _Tp > | linalg::operator+ (const c_matrix< _Tp > &A, const c_matrix< _Tp > &B) |
| Sparse matrix addition operator.
|
template<class _Tp > |
c_matrix< _Tp > | linalg::operator* (_Tp a, const c_matrix< _Tp > &B) |
| Sparse matrix scalar multiplication operator.
|
template<class _Tp > |
bool | linalg::operator== (const sparse_vector< _Tp > &a, const sparse_vector< _Tp > &b) |
| Sparse vector comparison operator.
|
template<class _Tp > |
sparse_vector< _Tp > | linalg::operator+ (const sparse_vector< _Tp > &a, const sparse_vector< _Tp > &b) |
| Sparse vector addition operator.
|
template<class _Tp > |
_Tp | linalg::operator* (const sparse_vector< _Tp > &a, const sparse_vector< _Tp > &b) |
| Sparse vector scalar product operator.
|
template<class _Tp > |
sparse_vector< _Tp > | linalg::operator* (_Tp a, const sparse_vector< _Tp > &b) |
| Sparse vector scaling operator.
|
template<class _Ve > |
std::vector< _Ve > & | linalg::linalg_ssum (std::vector< _Ve > &a, _Ve b, const std::vector< _Ve > &c) |
template<class _Ve > |
std::vector< _Ve > & | linalg::linalg_smult (std::vector< _Ve > &a, _Ve b) |
template<class _TS > |
_TS | linalg::linalg_dot (const std::vector< _TS > &a, const std::vector< _TS > &b, _TS s) |
template<class _Va , class _TS > |
_TS | linalg::linalg_dot (const _Va &a, const std::vector< _TS > &b, _TS s) |
template<class _Vb , class _TS > |
_TS | linalg::linalg_dot (const std::vector< _TS > &a, const _Vb &b, _TS s) |
template<class _Va , class _Vb , class _TS > |
_TS | linalg::linalg_dot (const _Va &a, const _Vb &b, _TS s) |
template<class _TS > |
void | linalg::linalg_add (const std::vector< _TS > &a, const std::vector< _TS > &b, std::vector< _TS > &c) |
template<class _Va , class _TS > |
void | linalg::linalg_add (const _Va &a, const std::vector< _TS > &b, std::vector< _TS > &c) |
template<class _Vb , class _TS > |
void | linalg::linalg_add (const std::vector< _TS > &a, const _Vb &b, std::vector< _TS > &c) |
template<class _TS , class _Vc > |
void | linalg::linalg_add (const std::vector< _TS > &a, const std::vector< _TS > &b, _Vc &c) |
template<class _Va , class _Vb , class _TS > |
void | linalg::linalg_add (const _Va &a, const _Vb &b, std::vector< _TS > &c) |
template<class _Va , class _TS , class _Vc > |
void | linalg::linalg_add (const _Va &a, const std::vector< _TS > &b, _Vc &c) |
template<class _TS , class _Vb , class _Vc > |
void | linalg::linalg_add (const std::vector< _TS > &a, const _Vb &b, _Vc &c) |
template<class _Va , class _Vb , class _Vc > |
void | linalg::linalg_add (const _Va &a, const _Vb &b, _Vc &c) |
template<class _Matrix , class _TS > |
void | linalg::linalg_matvec (const _Matrix &A, const std::vector< _TS > &a, std::vector< _TS > &c) |
template<class _Matrix , class _TS , class _Va > |
void | linalg::linalg_matvec (const _Matrix &A, const _Va &a, std::vector< _TS > &c) |
template<class _Matrix , class _TS , class _Vc > |
void | linalg::linalg_matvec (const _Matrix &A, const std::vector< _TS > &a, _Vc &c) |
template<class _Matrix , class _Va , class _Vc > |
void | linalg::linalg_matvec (const _Matrix &A, const _Va &a, _Vc &c) |
template<class _Matrix , class _TS > |
void | linalg::linalg_matvecv (const _Matrix &A, const std::vector< _TS > &a, const std::vector< _TS > &b, std::vector< _TS > &c) |
template<class _Matrix , class _TS , class _Va > |
void | linalg::linalg_matvecv (const _Matrix &A, const _Va &a, const std::vector< _TS > &b, std::vector< _TS > &c) |
template<class _Matrix , class _TS , class _Vb > |
void | linalg::linalg_matvecv (const _Matrix &A, const std::vector< _TS > &a, const _Vb &b, std::vector< _TS > &c) |
template<class _Matrix , class _TS , class _Vc > |
void | linalg::linalg_matvecv (const _Matrix &A, const std::vector< _TS > &a, const std::vector< _TS > &b, _Vc &c) |
template<class _Matrix , class _Va , class _Vb , class _TS > |
void | linalg::linalg_matvecv (const _Matrix &A, _Va &a, const _Vb &b, const std::vector< _TS > &c) |
template<class _Matrix , class _Va , class _TS , class _Vc > |
void | linalg::linalg_matvecv (const _Matrix &A, const _Va &a, const std::vector< _TS > &b, _Vc &c) |
template<class _Matrix , class _TS , class _Vb , class _Vc > |
void | linalg::linalg_matvecv (const _Matrix &A, const std::vector< _TS > &a, const _Vb &b, _Vc &c) |
template<class _Matrix , class _Va , class _Vb , class _Vc > |
void | linalg::linalg_matvecv (const _Matrix &A, const _Va &a, const _Vb &b, _Vc &c) |
The classes and types in this section are the basics for the internal data management of the COCONUT environment.