Regina Calculation Engine
Static Public Attributes | List of all members
regina::MatrixRingIdentities< T, ring > Struct Template Reference

Provides additive and multiplicative identity constants for the Matrix class. More...

#include <maths/matrix.h>

Inheritance diagram for regina::MatrixRingIdentities< T, ring >:
regina::Matrix< Integer, true > regina::Matrix< T, ring >

Static Public Attributes

static const T zero
 The additive identity in the underlying ring. More...
 
static const T one
 The multiplicative identity in the underlying ring. More...
 

Detailed Description

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
Tthe underlying type, which represents an element of a ring.
ringtrue if the constants zero and one should be defined. If ring is false, then this class will be empty.

Member Data Documentation

◆ one

template<typename T , bool ring>
const T regina::MatrixRingIdentities< T, ring >::one
static

The multiplicative identity in the underlying ring.

◆ zero

template<typename T , bool ring>
const T regina::MatrixRingIdentities< T, ring >::zero
static

The additive identity in the underlying ring.


The documentation for this struct was generated from the following file:

Copyright © 1999-2021, The Regina development team
This software is released under the GNU General Public License, with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@maths.uq.edu.au).