Table of Contents

Method YRoundToEven

Namespace
Zyl.VectorTraits.Impl.AVector
Assembly
VectorTraits.dll

YRoundToEven(Vector<float>)

Computes the round to even of each element in a vector (计算向量中每个元素的向偶数舍入). It is also known as rounding half to even/round to nearest integer (它也被称作四舍六入五成双/舍入到最近整数). See more: ToEven. Mnemonic: rt[i] := round_to_even(value[i]).

public override Vector<float> YRoundToEven(Vector<float> value)

Parameters

value Vector<float>

The vector that will have its round to even computed (将计算向偶数舍入的向量).

Returns

Vector<float>

A vector whose elements are the round to even of the elements in value (一个向量,其元素是 value 中各元素的向偶数舍入).

See Also

YRoundToEven(Vector<double>)

Computes the round to even of each element in a vector (计算向量中每个元素的向偶数舍入). It is also known as rounding half to even/round to nearest integer (它也被称作四舍六入五成双/舍入到最近整数). See more: ToEven. Mnemonic: rt[i] := round_to_even(value[i]).

public override Vector<double> YRoundToEven(Vector<double> value)

Parameters

value Vector<double>

The vector that will have its round to even computed (将计算向偶数舍入的向量).

Returns

Vector<double>

A vector whose elements are the round to even of the elements in value (一个向量,其元素是 value 中各元素的向偶数舍入).

See Also