Classes | |
struct | InfinityValue |
Returns -inf or +inf floating point values. More... | |
struct | NaNValue |
Returns NaN floating point value. More... | |
class | Vector |
A SIMD based N dimensional vector. More... | |
class | Array |
A fixed-length array. More... | |
class | Matrix |
A fixed-length matrix. More... | |
class | FRandomness |
A fast quality source of pseudo entropy. More... | |
class | SysRandomness |
Threadsafe system source of randomness. More... | |
Namespaces | |
namespace | Impl |
Typedefs | |
typedef Vector< float, 2 > | Vector2f |
typedef Vector< float, 3 > | Vector3f |
typedef Vector< float, 4 > | Vector4f |
typedef Vector< double, 2 > | Vector2d |
typedef Vector< double, 3 > | Vector3d |
typedef Vector< double, 4 > | Vector4d |
typedef Matrix< float, 3, 3 > | Matrix3f |
typedef Matrix< float, 4, 4 > | Matrix4f |
typedef Matrix< double, 3, 3 > | Matrix3d |
typedef Matrix< double, 4, 4 > | Matrix4d |
Functions | |
template<typename type> | |
const type & | min (const type &a, const type &b) |
template<typename type> | |
const type & | max (const type &a, const type &b) |
template<typename type> | |
type | sqrt (const type &v) |
template<> | |
float | sqrt< float > (const float &v) |
template<typename type> | |
type | rcp (const type &v) |
template<typename type> | |
type | rsqrt (const type &v) |
template<typename type> | |
bool | isNaN (type val) throw () |
template<> | |
bool | isNaN< float > (float val) throw () |
template<> | |
bool | isNaN< double > (double val) throw () |
template<typename type, unsigned int A> | |
FXStream & | operator<< (FXStream &s, const Vector< type, A > &v) |
template<typename type, unsigned int A> | |
FXStream & | operator>> (FXStream &s, Vector< type, A > &v) |
double | normalrand (FRandomness &src, double stddevs) throw () |
double | normalrand (SysRandomness &src, double stddevs) throw () |
template<typename type> | |
type | normaldist (type x, type stddevs) throw () |
template<typename type> | |
type | mean (const type *FXRESTRICT array, FXuval len, FXuint stride=1, type *FXRESTRICT min=0, type *FXRESTRICT max=0, type *FXRESTRICT mode=0) throw () |
template<typename type, class allocator> | |
type | mean (const QMemArray< type, allocator > &array, FXuint stride=1, type *FXRESTRICT min=0, type *FXRESTRICT max=0, type *FXRESTRICT mode=0) throw () |
template<typename type> | |
type | variance (const type *FXRESTRICT array, FXuval len, FXuint stride=1, const type *FXRESTRICT _mean=0) throw () |
template<typename type, class allocator> | |
type | variance (const QMemArray< type, allocator > &array, FXuint stride=1, const type *FXRESTRICT _mean=0) throw () |
template<typename type> | |
type | stddev (const type *FXRESTRICT array, FXuval len, FXuint stride=1, const type *FXRESTRICT _mean=0) throw () |
template<typename type, class allocator> | |
type | stddev (const QMemArray< type, allocator > &array, FXuint stride=1, const type *FXRESTRICT _mean=0) throw () |
template<unsigned int buckets, typename type> | |
Vector< type, buckets+3 > | distribution (const type *FXRESTRICT array, FXuval len, FXuint stride=1, const type *FXRESTRICT min=0, const type *FXRESTRICT max=0) throw () |
template<unsigned int buckets, typename type, class allocator> | |
Vector< type, buckets+3 > | distribution (const QMemArray< type, allocator > &array, FXuint stride=1, const type *FXRESTRICT min=0, const type *FXRESTRICT max=0) throw () |
Variables | |
FXAPI SysRandomness | SysRandSrc |