Vector.Round 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Round(Vector<Single>, MidpointRounding) | |
Round(Vector<Double>) | |
Round(Vector<Single>) | |
Round(Vector<Double>, MidpointRounding) |
Round(Vector<Single>, MidpointRounding)
public:
static System::Numerics::Vector<float> Round(System::Numerics::Vector<float> vector, MidpointRounding mode);
public static System.Numerics.Vector<float> Round (System.Numerics.Vector<float> vector, MidpointRounding mode);
static member Round : System.Numerics.Vector<single> * MidpointRounding -> System.Numerics.Vector<single>
Public Function Round (vector As Vector(Of Single), mode As MidpointRounding) As Vector(Of Single)
参数
- mode
- MidpointRounding
返回
适用于
Round(Vector<Double>)
public:
static System::Numerics::Vector<double> Round(System::Numerics::Vector<double> vector);
public static System.Numerics.Vector<double> Round (System.Numerics.Vector<double> vector);
static member Round : System.Numerics.Vector<double> -> System.Numerics.Vector<double>
Public Function Round (vector As Vector(Of Double)) As Vector(Of Double)
参数
返回
适用于
Round(Vector<Single>)
public:
static System::Numerics::Vector<float> Round(System::Numerics::Vector<float> vector);
public static System.Numerics.Vector<float> Round (System.Numerics.Vector<float> vector);
static member Round : System.Numerics.Vector<single> -> System.Numerics.Vector<single>
Public Function Round (vector As Vector(Of Single)) As Vector(Of Single)
参数
返回
适用于
Round(Vector<Double>, MidpointRounding)
public:
static System::Numerics::Vector<double> Round(System::Numerics::Vector<double> vector, MidpointRounding mode);
public static System.Numerics.Vector<double> Round (System.Numerics.Vector<double> vector, MidpointRounding mode);
static member Round : System.Numerics.Vector<double> * MidpointRounding -> System.Numerics.Vector<double>
Public Function Round (vector As Vector(Of Double), mode As MidpointRounding) As Vector(Of Double)
参数
- mode
- MidpointRounding