New and missing Blitz++ functions.
BZ_DECLARE_FUNCTION(radians_to_degrees)
BZ_DECLARE_FUNCTION(next_power_of_two)
BZ_DECLARE_FUNCTION(is_power_of_two)
BZ_DECLARE_FUNCTION(isfinite)
BZ_DECLARE_FUNCTION2(div_ceil)
template <class T, int N>
clamp(const blitz::TinyVector< T, N > & x, const blitz::TinyVector< T, N > & x_min, const blitz::TinyVector< T, N > & x_max) -> blitz::TinyVector< T, N >
template <class T, int N>
const_matrix(const std::array< T, N *N > & rhs) -> blitz::TinyMatrix< T, N, N >
template <class T>
cross(const TinyVector< T, 2 > & a, const TinyVector< T, 2 > & b) -> TinyVector< T, 1 >
template <class T, int N>
distance(const blitz::TinyVector< T, N > & v1, const blitz::TinyVector< T, N > & v2) -> T
div_ceil(int lhs, int rhs) -> int
template <class T, int N, class ... Args>
flatten(const TinyVector< T, N > & head, const Args &... tail) -> TinyVector< T, N *(sizeof...(Args)+1)>
is_power_of_two(int n) -> int
isfinite(double rhs) -> bool
isfinite(float rhs) -> bool
template <class T, int N>
max_vector(Array< blitz::TinyVector< T, N >, 1 > x) -> blitz::TinyVector< T, N >
template <class T, int N>
min_vector(Array< blitz::TinyVector< T, N >, 1 > x) -> blitz::TinyVector< T, N >
template <class T, int N, int M>
minmax(Array< TinyVector< T, N >, M > x) -> MinMaxValue< TinyVector< T, N > >
template <class T, int N>
near(const blitz::TinyVector< T, N > & lhs, const T rhs, const T eps) -> bool
template <class T, int N>
near(const blitz::TinyVector< T, N > & lhs, const blitz::TinyVector< T, N > & rhs, const T eps) -> bool
next_power_of_two(int n) -> int
template <class T, int N, int M, int K>
operator*(const TinyMatrix< T, N, K > & lhs, const TinyMatrix< T, K, M > & rhs) -> TinyMatrix< T, N, M >
template <class T, int N, int M>
operator*(const TinyMatrix< T, N, M > & lhs, const TinyVector< T, M > & rhs) -> blitz::TinyVector< T, N >
template <class T, int N, int M>
operator+(const TinyMatrix< T, N, M > & lhs, const TinyMatrix< T, N, M > & rhs) -> TinyMatrix< T, N, M >
template <class T, int N>
operator<<(vtb::core::bstream & out, const blitz::Array< T, N > & rhs) -> vtb::core::bstream &
template <class T, int N, int M>
operator<<(vtb::core::bstream & out, const blitz::TinyMatrix< T, N, M > & rhs) -> vtb::core::bstream &
template <class T, int N>
operator<<(vtb::core::bstream & out, const blitz::TinyVector< T, N > & rhs) -> vtb::core::bstream &
template <class T, int N>
operator>>(vtb::core::bstream & in, blitz::Array< T, N > & rhs) -> vtb::core::bstream &
template <class T, int N, int M>
operator>>(vtb::core::bstream & in, blitz::TinyMatrix< T, N, M > & rhs) -> vtb::core::bstream &
template <class T, int N>
operator>>(vtb::core::bstream & in, blitz::TinyVector< T, N > & rhs) -> vtb::core::bstream &
template <class T, int N, class ... Args>
product(TinyVector< T, N > v, const Args &... matrices) -> TinyVector< T, N >
template <class T, int N, int M, int K>
product(const TinyMatrix< T, N, K > & lhs, const TinyMatrix< T, K, M > & rhs) -> TinyMatrix< T, N, M >
template <class T, int N, int M>
product(const TinyMatrix< T, N, M > & lhs, const TinyVector< T, M > & rhs) -> TinyVector< T, N >
j
dimension of vector v
.
radians_to_degrees(double x) -> double
radians_to_degrees(float x) -> float
j
to vector v
.
template <class T, int N>
slice(const blitz::TinyVector< T, N > & x, int i, int j, int k, int l) -> blitz::TinyVector< T, 4 >
template <class T, int N>
slice(const blitz::TinyVector< T, N > & x, int i, int j, int k) -> blitz::TinyVector< T, 3 >
template <class T, int N>
slice(const blitz::TinyVector< T, N > & x, int i, int j) -> blitz::TinyVector< T, 2 >
template <class T, int N>
slice(const blitz::TinyVector< T, N > & x, int i) -> blitz::TinyVector< T, 1 >
template <class T, int N, class ... Args>
tie(TinyVector< T, N > & head, Args &... tail) -> bits::Tie< T, N, sizeof...(Args)+1 >