implementation< ball_shift, W, ball_rounded > Struct Template Reference

#include <ball_rounded.hpp>

List of all members.

Public Types

Static Public Member Functions


Detailed Description

template<typename W>
struct mmx::implementation< ball_shift, W, ball_rounded >

Definition at line 556 of file ball_rounded.hpp.


Member Typedef Documentation

typedef implementation<ball_rounding,W> Rnd

Definition at line 557 of file ball_rounded.hpp.


Member Function Documentation

static void shiftl ( ball< C, R, V > &  d,
const ball< C, R, V > &  z,
const xint shift 
) [inline, static]

Definition at line 567 of file ball_rounded.hpp.

References mmx::center(), mmx::incexp2(), and mmx::radius().

00567                                                    {
00568   center (d)= incexp2 (center (z), shift);
00569   radius (d)= incexp2 (radius (z), shift);
00570   Rnd::add_multiplicative_error (d);
00571 }

static void shiftl ( ball< C, R, V > &  d,
const xint shift 
) [inline, static]

Definition at line 560 of file ball_rounded.hpp.

References mmx::center(), mmx::incexp2(), and mmx::radius().

00560                                     {
00561   center (d)= incexp2 (center (d), shift);
00562   radius (d)= incexp2 (radius (d), shift);
00563   Rnd::add_multiplicative_error (d);
00564 }

static void shiftr ( ball< C, R, V > &  d,
const ball< C, R, V > &  z,
const xint shift 
) [inline, static]

Definition at line 581 of file ball_rounded.hpp.

References mmx::center(), mmx::decexp2(), and mmx::radius().

00581                                                    {
00582   center (d)= decexp2 (center (z), shift);
00583   radius (d)= decexp2 (radius (z), shift);
00584   Rnd::add_multiplicative_error (d);
00585 }

static void shiftr ( ball< C, R, V > &  d,
const xint shift 
) [inline, static]

Definition at line 574 of file ball_rounded.hpp.

References mmx::center(), mmx::decexp2(), and mmx::radius().

00574                                     {
00575   center (d)= decexp2 (center (d), shift);
00576   radius (d)= decexp2 (radius (d), shift);
00577   Rnd::add_multiplicative_error (d);
00578 }


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

Generated on 6 Dec 2012 for numerix by  doxygen 1.6.1