make_ball_helper< interval< C, V >, C2, R2 > Struct Template Reference

#include <interval.hpp>

List of all members.

Static Public Member Functions


Detailed Description

template<typename C, typename V, typename C2, typename R2>
struct mmx::make_ball_helper< interval< C, V >, C2, R2 >

Definition at line 94 of file interval.hpp.


Member Function Documentation

static interval<C,V> val ( const C2 c,
const R2 &  r 
) [inline, static]

Definition at line 95 of file interval.hpp.

References mmx::C2, Interval, Round_down, and Round_up.

00095                                                         {
00096     typedef Round_up(C2) Rnd_Up;
00097     typedef Round_down(C2) Rnd_Down;
00098     return Interval (Rnd_Down::template sub_as<C2> (c, r),
00099                      Rnd_Up::template add_as<C2> (c, r));
00100   }


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

Generated on 6 Dec 2012 for numerix by  doxygen 1.6.1