matrix_sig.h File Reference

Type signature for Matrices. More...

#include "basics.h"
#include "vector_sig.h"

Include dependency graph for matrix_sig.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TBCI

Classes

class  TBCI::Matrix_Sig< T >
 Common interface definition (signature) for all Matrices. More...


Detailed Description

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.


Generated on Wed Nov 20 09:28:18 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6