|
TBCI Numerical high perf. C++ Library
2.8.0
|
Type signature for Matrices. More...
#include "tbci/basics.h"#include "tbci/vector_sig.h"
Go to the source code of this file.
Classes | |
| class | TVector< T > |
| Temporary Base Class Idiom: Class TVector is used for temporary variables. More... | |
| class | Vector< T > |
| class | Matrix_Sig< T > |
| Common interface definition (signature) for all Matrices. More... | |
Type signature for Matrices.
All Matrix types should comply to (be derived from) this signature (base class) TBCI::Matrix_Sig.
(A Signature is defining an interface, regardless of inheritance issues. Cf. ML's signatures, definition/interface modules in MODULA2/3.) The GNU Compiler supports signatures (-fhandle-signatures, see egcs-1.0-Manual, ch. 5.6)
However, as this is not standard C++, we use an abstract base class instead.
Currently, we don not take advantage of polymorphism. With virtual base classes, we may introduce a performance issue, due to indirect calls via virtual tables. Needs some investigation. (Therefore, it's not really an abstract base class, for now.)
Definition in file matrix_sig.h.
1.8.5