KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
l_transformable.h
Go to the documentation of this file.
1 
34 /* =========================================================================== *
35 |
36 | Copyright (c) 1994-2008 by Kobus Barnard (author).
37 |
38 | Personal and educational use of this code is granted, provided that this
39 | header is kept intact, and that the authorship is not misrepresented, that
40 | its use is acknowledged in publications, and relevant papers are cited.
41 |
42 | For other use contact the author (kobus AT cs DOT arizona DOT edu).
43 |
44 | Please note that the code in this file has not necessarily been adequately
45 | tested. Naturally, there is no guarantee of performance, support, or fitness
46 | for any particular task. Nonetheless, I am interested in hearing about
47 | problems that you encounter.
48 |
49 | Authors:
50 | Joseph Schlecht, Luca Del Pero
51 |
52 * =========================================================================== */
53 
63 #ifndef KJB_TRANSFORMABLE_H
64 #define KJB_TRANSFORMABLE_H
65 
66 #include <l_cpp/l_exception.h>
67 
68 
69 namespace kjb{
70 
71 
72  class Matrix;
78 class Transformable
79 {
80  public:
81 
83  virtual ~Transformable() { }
84 
85 
87  virtual void transform(const Matrix & M) = 0;
88 };
89 
90 
91 }
92 
93 
94 #endif
virtual ~Transformable()
Deletes this Transformable_d.
Definition: l_transformable.h:83
virtual void transform(const kjb::Matrix &M)=0
Transforms this object with a linear operator.
This class implements matrices, in the linear-algebra sense, with real-valued elements.
Definition: m_matrix.h:94
Support for error handling exception classes in libKJB.