Method Ceiling
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
Ceiling(Vector256<float>)
Computes the ceiling of each element in a vector (计算向量中每个元素的向上取整). It is also known as round to positive infinity (它也被称作向正无穷舍入). See more: ToPositiveInfinity.
Mnemonic: rt[i] := ceiling(value[i])
.
public static Vector256<float> Ceiling(Vector256<float> value)
Parameters
Returns
- Vector256<float>
A vector whose elements are the ceiling of the elements in
value
(一个向量,其元素是value
中各元素的向上取整).
- See Also
Ceiling(Vector256<double>)
Computes the ceiling of each element in a vector (计算向量中每个元素的向上取整). It is also known as round to positive infinity (它也被称作向正无穷舍入). See more: ToPositiveInfinity.
Mnemonic: rt[i] := ceiling(value[i])
.
public static Vector256<double> Ceiling(Vector256<double> value)
Parameters
Returns
- Vector256<double>
A vector whose elements are the ceiling of the elements in
value
(一个向量,其元素是value
中各元素的向上取整).
- See Also