Method YRoundToZero
- Namespace
- Zyl.VectorTraits.Impl.AVector256
- Assembly
- VectorTraits.dll
YRoundToZero(Vector256<float>)
Computes the round to zero of each element in a vector (计算向量中每个元素的向零舍入). It is also known as truncate (它也被称作截断取整). See more: ToZero.
Mnemonic: rt[i] := round_to_zero(value[i])
.
public virtual Vector256<float> YRoundToZero(Vector256<float> value)
Parameters
Returns
- Vector256<float>
A vector whose elements are the round to zero of the elements in
value
(一个向量,其元素是value
中各元素的向零舍入).
- See Also
YRoundToZero(Vector256<double>)
Computes the round to zero of each element in a vector (计算向量中每个元素的向零舍入). It is also known as truncate (它也被称作截断取整). See more: ToZero.
Mnemonic: rt[i] := round_to_zero(value[i])
.
public virtual Vector256<double> YRoundToZero(Vector256<double> value)
Parameters
Returns
- Vector256<double>
A vector whose elements are the round to zero of the elements in
value
(一个向量,其元素是value
中各元素的向零舍入).
- See Also