implementation< ball_additive, W, ball_rough > Struct Template Reference

#include <ball_rough.hpp>

List of all members.

Static Public Member Functions


Detailed Description

template<typename W>
struct mmx::implementation< ball_additive, W, ball_rough >

Definition at line 60 of file ball_rough.hpp.


Member Function Documentation

static void add ( ball< C, R, V > &  d,
const ball< C, R, V > &  z1,
const C z2 
) [inline, static]

Definition at line 83 of file ball_rough.hpp.

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

00083                                            {
00084   center (d)= center (z1) + z2;
00085   radius (d)= radius (z1);
00086   add_rough_additive_error (d);
00087 }

static void add ( ball< C, R, V > &  d,
const C z1,
const ball< C, R, V > &  z2 
) [inline, static]

Definition at line 76 of file ball_rough.hpp.

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

00076                                            {
00077   center (d)= z1 + center (z2);
00078   radius (d)= radius (z2);
00079   add_rough_additive_error (d);
00080 }

static void add ( ball< C, R, V > &  d,
const ball< C, R, V > &  z1,
const ball< C, R, V > &  z2 
) [inline, static]

Definition at line 69 of file ball_rough.hpp.

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

00069                                               {
00070   center (d)= center (z1) + center (z2);
00071   radius (d)= radius (z1) + radius (z2);
00072   add_rough_additive_error (d);
00073 }

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

Definition at line 63 of file ball_rough.hpp.

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

00063                              {
00064   center (d)= -center (z);
00065   radius (d)= radius (z);
00066 }

static void sub ( ball< C, R, V > &  d,
const ball< C, R, V > &  z1,
const C z2 
) [inline, static]

Definition at line 104 of file ball_rough.hpp.

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

00104                                            {
00105   center (d)= center (z1) - z2;
00106   radius (d)= radius (z1);
00107   add_rough_additive_error (d);
00108 }

static void sub ( ball< C, R, V > &  d,
const C z1,
const ball< C, R, V > &  z2 
) [inline, static]

Definition at line 97 of file ball_rough.hpp.

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

00097                                            {
00098   center (d)= z1 - center (z2);
00099   radius (d)= radius (z2);
00100   add_rough_additive_error (d);
00101 }

static void sub ( ball< C, R, V > &  d,
const ball< C, R, V > &  z1,
const ball< C, R, V > &  z2 
) [inline, static]

Definition at line 90 of file ball_rough.hpp.

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

00090                                               {
00091   center (d)= center (z1) - center (z2);
00092   radius (d)= radius (z1) + radius (z2);
00093   add_rough_additive_error (d);
00094 }


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

Generated on 6 Dec 2012 for numerix by  doxygen 1.6.1