Basic Polynomial Algebra Subprograms (BPAS)  v. 1.791
BPASField.hpp
1 
2 #ifndef _BPAS_FIELD_H_
3 #define _BPAS_FIELD_H_
4 
5 #include "BPASEuclideanDomain.hpp"
6 
7 /**
8  * An abstract class defining the interface of a field.
9  */
10 template <class Derived>
11 class BPASField : public virtual BPASEuclideanDomain<Derived> {
12 
13 public:
14 
15  /**
16  * Get the inverse of *this.
17  *
18  * @return the inverse
19  */
20  virtual Derived inverse() const = 0;
21 };
22 
23 #endif
virtual Derived inverse() const =0
Get the inverse of *this.
An abstract class defining the interface of a Euclidean domain.
Definition: BPASEuclideanDomain.hpp:14
An abstract class defining the interface of a field.
Definition: BPASField.hpp:11