Method YRoundToZero_Floor
- Namespace
- Zyl.VectorTraits.Impl.AVector
- Assembly
- VectorTraits.dll
YRoundToZero_Floor(Vector<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 static Vector<float> YRoundToZero_Floor(Vector<float> value)
Parameters
Returns
- Vector<float>
A vector whose elements are the round to zero of the elements in
value
(一个向量,其元素是value
中各元素的向零舍入).
- See Also
YRoundToZero_Floor(Vector<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 static Vector<double> YRoundToZero_Floor(Vector<double> value)
Parameters
Returns
- Vector<double>
A vector whose elements are the round to zero of the elements in
value
(一个向量,其元素是value
中各元素的向零舍入).
- See Also