Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::square_topology< RandomNumberGenerator > Class Template Reference

#include <topology.hpp>

Inheritance diagram for boost::square_topology< RandomNumberGenerator >:
Collaboration diagram for boost::square_topology< RandomNumberGenerator >:

Public Types

typedef convex_topology< Dims >
::point_type 
point_type
 
typedef convex_topology< Dims >
::point_difference_type 
point_difference_type
 

Public Member Functions

 square_topology (double scaling=1.0)
 
 square_topology (RandomNumberGenerator &gen, double scaling=1.0)
 
point_type random_point () const
 
point_type bound (point_type a) const
 
double distance_from_boundary (point_type a) const
 
point_type center () const
 
point_type origin () const
 
point_difference_type extent () const
 
double distance (point a, point b) const
 
point move_position_toward (point a, double fraction, point b) const
 
point_difference difference (point a, point b) const
 
point adjust (point a, point_difference delta) const
 
point pointwise_min (point a, point b) const
 
point pointwise_max (point a, point b) const
 
double norm (point_difference delta) const
 
double volume (point_difference delta) const
 

Member Typedef Documentation

typedef convex_topology<Dims>::point_difference_type boost::hypercube_topology< Dims, RandomNumberGenerator >::point_difference_type
inherited
typedef convex_topology<Dims>::point_type boost::hypercube_topology< Dims, RandomNumberGenerator >::point_type
inherited

Constructor & Destructor Documentation

template<typename RandomNumberGenerator = minstd_rand>
boost::square_topology< RandomNumberGenerator >::square_topology ( double  scaling = 1.0)
inlineexplicit
template<typename RandomNumberGenerator = minstd_rand>
boost::square_topology< RandomNumberGenerator >::square_topology ( RandomNumberGenerator &  gen,
double  scaling = 1.0 
)
inline

Member Function Documentation

template<std::size_t Dims>
point boost::convex_topology< Dims >::adjust ( point  a,
point_difference  delta 
) const
inlineinherited
point_type boost::hypercube_topology< Dims, RandomNumberGenerator >::bound ( point_type  a) const
inlineinherited
point_type boost::hypercube_topology< Dims, RandomNumberGenerator >::center ( ) const
inlineinherited
template<std::size_t Dims>
point_difference boost::convex_topology< Dims >::difference ( point  a,
point  b 
) const
inlineinherited
template<std::size_t Dims>
double boost::convex_topology< Dims >::distance ( point  a,
point  b 
) const
inlineinherited
double boost::hypercube_topology< Dims, RandomNumberGenerator >::distance_from_boundary ( point_type  a) const
inlineinherited
point_difference_type boost::hypercube_topology< Dims, RandomNumberGenerator >::extent ( ) const
inlineinherited
template<std::size_t Dims>
point boost::convex_topology< Dims >::move_position_toward ( point  a,
double  fraction,
point  b 
) const
inlineinherited
template<std::size_t Dims>
double boost::convex_topology< Dims >::norm ( point_difference  delta) const
inlineinherited
point_type boost::hypercube_topology< Dims, RandomNumberGenerator >::origin ( ) const
inlineinherited
template<std::size_t Dims>
point boost::convex_topology< Dims >::pointwise_max ( point  a,
point  b 
) const
inlineinherited
template<std::size_t Dims>
point boost::convex_topology< Dims >::pointwise_min ( point  a,
point  b 
) const
inlineinherited
point_type boost::hypercube_topology< Dims, RandomNumberGenerator >::random_point ( ) const
inlineinherited
template<std::size_t Dims>
double boost::convex_topology< Dims >::volume ( point_difference  delta) const
inlineinherited

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