Regina 7.0 Calculation Engine
Classes | Namespaces | Functions
matrix2.h File Reference

Deals with 2x2 integer matrices. More...

#include <array>
#include <iostream>
#include "regina-core.h"

Classes

class  regina::Matrix2
 Represents a 2-by-2 integer matrix. More...
 

Namespaces

namespace  regina
 Contains the entire Regina calculation engine.
 

Functions

void regina::swap (Matrix2 &a, Matrix2 &b) noexcept
 Swaps the contents of the two given matrices. More...
 
std::ostream & regina::operator<< (std::ostream &out, const Matrix2 &mat)
 Writes the given matrix to the given output stream. More...
 
bool regina::simpler (const Matrix2 &m1, const Matrix2 &m2)
 Determines whether the first given matrix is more aesthetically pleasing than the second. More...
 
bool regina::simpler (const Matrix2 &pair1first, const Matrix2 &pair1second, const Matrix2 &pair2first, const Matrix2 &pair2second)
 Determines whether the first given pair of matrices is more aesthetically pleasing than the second pair. More...
 

Detailed Description

Deals with 2x2 integer matrices.


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).