Magnum/Math/FunctionsBatch.h file

Batch functions usable with scalar and vector types.

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Math
Math library.

Functions

template<class T>
auto min(Corrade::Containers::ArrayView<const T> range) -> T
Minimum of a range.
template<class T>
auto max(Corrade::Containers::ArrayView<const T> range) -> T
Maximum of a range.
template<class T>
auto minmax(Corrade::Containers::ArrayView<const T> range) -> std::pair<T, T>
Minimum and maximum of a range.