Provides additive and multiplicative identity constants for the Matrix class.
More...
#include <maths/matrix.h>
|
static const T | zero |
| The additive identity in the underlying ring. More...
|
|
static const T | one |
| The multiplicative identity in the underlying ring. More...
|
|
template<typename T, bool ring>
struct regina::MatrixRingIdentities< T, ring >
Provides additive and multiplicative identity constants for the Matrix class.
- Deprecated:
- These constants are deprecated, and will be removed in a future release of Regina. You should simply use the integers 0 and 1 instead.
- Template Parameters
-
T | the underlying type, which represents an element of a ring. |
ring | true if the constants zero and one should be defined. If ring is false , then this class will be empty. |
◆ one
template<typename T , bool ring>
The multiplicative identity in the underlying ring.
◆ zero
template<typename T , bool ring>
The additive identity in the underlying ring.
The documentation for this struct was generated from the following file: