Basic Polynomial Algebra Subprograms (BPAS)  v. 1.652
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  virtual Derived inverse() const = 0;
19 };
20 
21 #endif
virtual Derived inverse() const =0
Get the inverse of *this.
An abstract class defining the interface of a Euclidean domain.
Definition: BPASEuclideanDomain.hpp:12
An abstract class defining the interface of a field.
Definition: BPASField.hpp:11