Numerics::Nat_1_2_diag< Nat > Struct Template Reference

#include <Numerics.hpp>

List of all members.

Public Types

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

Public Member Functions

pair_type operator() (const number_type n) const
number_type operator() (const pair_type &p) const

Detailed Description

template<typename Nat>
struct Numerics::Nat_1_2_diag< Nat >

Definition at line 80 of file Numerics.hpp.

Member Typedef Documentation

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

Definition at line 83 of file Numerics.hpp.

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

Definition at line 82 of file Numerics.hpp.

Member Function Documentation

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

Definition at line 84 of file Numerics.hpp.

References sqr().

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

Definition at line 95 of file Numerics.hpp.

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