OKlibrary  0.2.1.6
Numerics::Round< Float, Return, Int_basis, Int_position > Struct Template Reference

#include <Numerics.hpp>

List of all members.

Public Types

typedef Float value_type
typedef Return return_type
typedef Int_basis basis_type
typedef Int_position position_type

Public Member Functions

 Round (const basis_type basis=10)
return_type operator() (value_type x) const
return_type operator() (value_type x, const position_type position)

Public Attributes

const basis_type basis

Detailed Description

template<typename Float, typename Return = Float, typename Int_basis = int, typename Int_position = int>
struct Numerics::Round< Float, Return, Int_basis, Int_position >

Definition at line 38 of file Numerics.hpp.


Member Typedef Documentation

template<typename Float, typename Return = Float, typename Int_basis = int, typename Int_position = int>
typedef Int_basis Numerics::Round< Float, Return, Int_basis, Int_position >::basis_type

Definition at line 47 of file Numerics.hpp.

template<typename Float, typename Return = Float, typename Int_basis = int, typename Int_position = int>
typedef Int_position Numerics::Round< Float, Return, Int_basis, Int_position >::position_type

Definition at line 48 of file Numerics.hpp.

template<typename Float, typename Return = Float, typename Int_basis = int, typename Int_position = int>
typedef Return Numerics::Round< Float, Return, Int_basis, Int_position >::return_type

Definition at line 46 of file Numerics.hpp.

template<typename Float, typename Return = Float, typename Int_basis = int, typename Int_position = int>
typedef Float Numerics::Round< Float, Return, Int_basis, Int_position >::value_type

Definition at line 45 of file Numerics.hpp.


Constructor & Destructor Documentation

template<typename Float, typename Return = Float, typename Int_basis = int, typename Int_position = int>
Numerics::Round< Float, Return, Int_basis, Int_position >::Round ( const basis_type  basis = 10) [inline]

Definition at line 51 of file Numerics.hpp.


Member Function Documentation

template<typename Float, typename Return = Float, typename Int_basis = int, typename Int_position = int>
return_type Numerics::Round< Float, Return, Int_basis, Int_position >::operator() ( value_type  x) const [inline]
template<typename Float, typename Return = Float, typename Int_basis = int, typename Int_position = int>
return_type Numerics::Round< Float, Return, Int_basis, Int_position >::operator() ( value_type  x,
const position_type  position 
) [inline]

Member Data Documentation

template<typename Float, typename Return = Float, typename Int_basis = int, typename Int_position = int>
const basis_type Numerics::Round< Float, Return, Int_basis, Int_position >::basis

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