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

Provides a fast and generic vector class. More...

#include <algorithm>
#include <initializer_list>
#include <iostream>
#include "regina-core.h"
#include "core/output.h"
#include "maths/integer.h"
#include "utilities/intutils.h"

Classes

class  regina::Vector< T >
 An optimised vector class of elements from a given ring T. More...
 

Namespaces

namespace  regina
 Contains the entire Regina calculation engine.
 

Typedefs

using regina::VectorInt = Vector< Integer >
 A vector of arbitrary-precision integers. More...
 
using regina::VectorLarge = Vector< LargeInteger >
 A vector of arbitrary-precision integers that allows infinite elements. More...
 
using regina::Ray = Vector< LargeInteger >
 Deprecated alias for a vector of arbitrary-precision integers that allows infinite elements. More...
 

Functions

template<typename T >
void regina::swap (Vector< T > &a, Vector< T > &b) noexcept
 Swaps the contents of the given vectors. More...
 
template<class T >
std::ostream & regina::operator<< (std::ostream &out, const Vector< T > &vector)
 Writes the given vector to the given output stream. More...
 

Detailed Description

Provides a fast and generic vector class.


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