file
FunctionsBatch.hBatch functions usable with scalar and vector types.
Namespaces
- namespace Magnum
- Root namespace.
- namespace Magnum::Math
- Math library.
Batch functions
These functions process an ubounded range of values, as opposed to single vectors or scalars.
-
template<class T>auto isInf(const Containers::
StridedArrayView1D<const T>& range) -> auto - If any number in the range is a positive or negative infinity.
-
template<class Iterable, class T = decltype(Implementation::stridedArrayViewTypeFor(std::auto isInf(Iterable&& range) -> auto new in 2020.06
declval<Iterable && >()))> -
template<class T>auto isInf(std::
initializer_list<T> list) -> auto -
template<class T, std::auto isInf(const T(&array)[size]) -> auto
size_t size> -
template<class T>auto isNan(const Containers::
StridedArrayView1D<const T>& range) -> auto - If any number in the range is a NaN.
-
template<class Iterable, class T = decltype(Implementation::stridedArrayViewTypeFor(std::auto isNan(Iterable&& range) -> auto new in 2020.06
declval<Iterable && >()))> -
template<class T>auto isNan(std::
initializer_list<T> list) -> auto -
template<class T, std::auto isNan(const T(&array)[size]) -> auto
size_t size> -
template<class T>auto min(const Containers::
StridedArrayView1D<const T>& range) -> T - Minimum of a range.
-
template<class Iterable, class T = decltype(Implementation::stridedArrayViewTypeFor(std::auto min(Iterable&& range) -> T new in 2020.06
declval<Iterable && >()))> -
template<class T>auto min(std::
initializer_list<T> list) -> T -
template<class T, std::auto min(const T(&array)[size]) -> T
size_t size> -
template<class T>auto max(const Containers::
StridedArrayView1D<const T>& range) -> T - Maximum of a range.
-
template<class Iterable, class T = decltype(Implementation::stridedArrayViewTypeFor(std::auto max(Iterable&& range) -> T new in 2020.06
declval<Iterable && >()))> -
template<class T>auto max(std::
initializer_list<T> list) -> T -
template<class T, std::auto max(const T(&array)[size]) -> T
size_t size> -
template<class T>auto minmax(const Containers::
StridedArrayView1D<const T>& range) -> Containers::Pair<T, T> - Minimum and maximum of a range.
-
template<class Iterable, class T = decltype(Implementation::stridedArrayViewTypeFor(std::auto minmax(Iterable&& range) -> Containers::Pair<T, T> new in 2020.06
declval<Iterable && >()))> -
template<class T>auto minmax(std::
initializer_list<T> list) -> Containers::Pair<T, T> -
template<class T, std::auto minmax(const T(&array)[size]) -> Containers::Pair<T, T>
size_t size>