implementation< ball_complex_construct, IV, ball_complex< BV > > Struct Template Reference

#include <ball_complex_rounded.hpp>

List of all members.

Public Types

Static Public Member Functions


Detailed Description

template<typename IV, typename BV>
struct mmx::implementation< ball_complex_construct, IV, ball_complex< BV > >

Definition at line 46 of file ball_complex_rounded.hpp.


Member Typedef Documentation

typedef implementation<ball_rounding,BV> Rnd

Definition at line 47 of file ball_complex_rounded.hpp.


Member Function Documentation

static void gauss ( ball< CC, R, CV > &  d,
const ball< C, R, V > &  re,
const ball< C, R, V > &  im 
) [inline, static]

Definition at line 50 of file ball_complex_rounded.hpp.

References mmx::center(), mmx::hypot(), R, mmx::radius(), Round_up, and Up.

00050                                                  {
00051   typedef Round_up(R) Up;
00052   gaussian_as (center (d), center (re), center (im));
00053   radius (d)= Up::hypot (radius (re), radius (im));
00054   Rnd::add_elementary_error (d);
00055 }

static void polar ( ball< CC, R, CV > &  d,
const ball< C, R, V > &  r,
const ball< C, R, V > &  t 
) [inline, static]

Definition at line 58 of file ball_complex_rounded.hpp.

References mmx::cos(), and mmx::sin().

00058                                                {
00059   gauss (d, r * cos (t), r * sin (t));
00060 }


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

Generated on 6 Dec 2012 for numerix by  doxygen 1.6.1