|
| template<typename T , size_t N> |
| std::array< T, N > | dl::Each::Min (const std::array< T, N > &a, const std::array< T, N > &b) |
| | 取两者最小值为新元素 更多...
|
| |
| template<IsInteger T, size_t N> |
| std::array< T, N > | dl::Each::Limit (const std::array< T, N > &a, const std::array< T, N > &b, const std::array< T, N > &c) |
| | 限制元素到 前闭后开区间(过大自动减1) 更多...
|
| |
| template<typename T , size_t N> |
| constexpr bool | dl::Each::Less (const std::array< T, N > &a, const std::array< T, N > &b) |
| | 每个元素都小于返回真 更多...
|
| |
| template<IsReal T, size_t N> |
| std::array< T, N > | dl::Each::Lerp (const std::array< T, N > &a, const std::array< T, N > &b, T t) |
| | 线性插值 更多...
|
| |
| template<typename T , size_t N, IsReal R> |
| std::array< T, N > | dl::Each::Lerp (const std::array< T, N > &a, const std::array< T, N > &b, R t, R(*func)(R)) |
| | 传入2个容器,对每个元素进行线性插值 更多...
|
| |
| template<typename C0 , typename C1 , typename F > |
| bool | dl::Each::Yes (const C0 &container0, const C1 &container1, F func) |
| | 判断两个容器 每个元素都满足条件 更多...
|
| |
| template<typename C0 , typename C1 > |
| void | dl::Each::Clone (C1 &tar, const C0 &src) |
| | 克隆容器到另一个 更多...
|
| |
| template<typename C0 , typename C1 > |
| void | dl::Each::Copy (C1 &tar, const C0 &src) |
| | 复制容器 更多...
|
| |