Regina 7.4.1 Calculation Engine
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"
#include "utilities/tightencoding.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.
using regina::VectorLarge = Vector<LargeInteger>
 A vector of arbitrary-precision integers that allows infinite elements.

Functions

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

Detailed Description

Provides a fast and generic vector class.