Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Ball Class Reference

#include <StochasticProcess.h>

Inheritance diagram for Ball:

EuclideanRegion Region< RealVector > List of all members.

Detailed Description

Ball in Euclidean space centered at the origin.

Definition at line 212 of file StochasticProcess.h.

Public Member Functions

Real getRadius () const
 Ball (int d, Real r=1.0)
bool isMember (const RealVector &x)
RealVectorboundaryProjection (const RealVector &x)

Constructor & Destructor Documentation

Ball::Ball int    d,
Real    r = 1.0

d dimension
r radius

Definition at line 223 of file StochasticProcess.h.

Member Function Documentation

Real Ball::getRadius   const [inline]

Definition at line 218 of file StochasticProcess.h.

References Real.

bool Ball::isMember const RealVector   x [inline, virtual]

The object x is either in the region or not.

Implements Region< RealVector >.

Definition at line 225 of file StochasticProcess.h.

References EuclideanRegion::dim, and Real.

RealVector& Ball::boundaryProjection const RealVector   x [inline, virtual]

Projects x on the boundary of he ball.

Implements EuclideanRegion.

Definition at line 233 of file StochasticProcess.h.

References Vector< Real >::norm(), and RealVector.

The documentation for this class was generated from the following file:
Generated on Mon Sep 22 02:16:32 2003 for Libor-Library by doxygen1.3-rc3