|
template<int Dimension, typename T > |
const Range< Dimension, T > | ion::math::RangeUnion (const Range< Dimension, T > &r0, const Range< Dimension, T > &r1) |
| Returns the union of two Range instances. More...
|
|
template<int Dimension, typename T > |
const Range< Dimension, T > | ion::math::RangeIntersection (const Range< Dimension, T > &r0, const Range< Dimension, T > &r1) |
| Returns the intersection of two Range instances. More...
|
|
template<int Dimension, typename T > |
T | ion::math::NVolume (const Range< Dimension, T > &r) |
| Returns the NVolume of a Range, which is the product of its sizes in all dimensions. More...
|
|
template<int Dimension, typename T > |
bool | ion::math::RangesAlmostEqual (const Range< Dimension, T > &r0, const Range< Dimension, T > &r1, const T threshold) |
| Returns true if all dimensions of the two ranges are equal within the threshold. More...
|
|
template<int Dimension, typename T > |
const Range< Dimension, T > | ion::math::ScaleRange (const Range< Dimension, T > &r, T scale_factor) |
| Returns a Range that is the input Range scaled uniformly about its center by the given factor. More...
|
|
template<int Dimension, typename T > |
const Range< Dimension, T > | ion::math::ScaleRangeNonUniformly (const Range< Dimension, T > &r, const Vector< Dimension, T > scale_factors) |
| Returns a Range that is the input Range scaled nonuniformly about its center by the given per-dimension factors. More...
|
|
template<int Dimension, typename T1 , typename T2 > |
const Range< Dimension, T1 > | ion::math::ModulateRange (const Range< Dimension, T1 > &r, const Vector< Dimension, T2 > modulation) |
| Modulate a Range by a Vector. More...
|
|