OKlibrary  0.2.1.6
Numerics::Graph_edges< Nat > Class Template Reference

#include <Numerics.hpp>

List of all members.

Public Types

typedef Nat number_type
typedef std::pair< Nat, Nat > pair_type

Public Member Functions

 Graph_edges (const number_type n)
pair_type operator() (const Nat k) const
number_type operator() (const pair_type &p) const

Public Attributes

const number_type N

Detailed Description

template<typename Nat>
class Numerics::Graph_edges< Nat >

Definition at line 110 of file Numerics.hpp.


Member Typedef Documentation

template<typename Nat >
typedef Nat Numerics::Graph_edges< Nat >::number_type

Definition at line 115 of file Numerics.hpp.

template<typename Nat >
typedef std::pair<Nat, Nat> Numerics::Graph_edges< Nat >::pair_type

Definition at line 116 of file Numerics.hpp.


Constructor & Destructor Documentation

template<typename Nat >
Numerics::Graph_edges< Nat >::Graph_edges ( const number_type  n) [inline]

Definition at line 118 of file Numerics.hpp.


Member Function Documentation

template<typename Nat >
pair_type Numerics::Graph_edges< Nat >::operator() ( const Nat  k) const [inline]

Definition at line 121 of file Numerics.hpp.

References Numerics::Graph_edges< Nat >::N, and sqr().

template<typename Nat >
number_type Numerics::Graph_edges< Nat >::operator() ( const pair_type p) const [inline]

Definition at line 132 of file Numerics.hpp.


Member Data Documentation

template<typename Nat >
const number_type Numerics::Graph_edges< Nat >::N

Definition at line 117 of file Numerics.hpp.

Referenced by Numerics::Graph_edges< Nat >::operator()().


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