Vector.Round Metod

Definition

Överlagringar

Name Description
Round(Vector<Double>)

Avrundar varje element i en vektor till närmaste heltal med standard avrundningsläget (ToEven).

Round(Vector<Single>)

Avrundar varje element i en vektor till närmaste heltal med standard avrundningsläget (ToEven).

Round(Vector<Double>, MidpointRounding)

Avrundar varje element i en vektor till närmaste heltal med det angivna avrundningsläget.

Round(Vector<Single>, MidpointRounding)

Avrundar varje element i en vektor till närmaste heltal med det angivna avrundningsläget.

Round(Vector<Double>)

Källa:
Vector.cs
Källa:
Vector.cs
Källa:
Vector.cs

Avrundar varje element i en vektor till närmaste heltal med standard avrundningsläget (ToEven).

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)

Parametrar

vector
Vector<Double>

Vektorn som ska avrundas.

Returer

Resultatet av avrundning av varje element i vector till närmaste heltal med standard avrundningsläget.

Gäller för

Round(Vector<Single>)

Källa:
Vector.cs
Källa:
Vector.cs
Källa:
Vector.cs

Avrundar varje element i en vektor till närmaste heltal med standard avrundningsläget (ToEven).

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)

Parametrar

vector
Vector<Single>

Vektorn som ska avrundas.

Returer

Resultatet av avrundning av varje element i vector till närmaste heltal med standard avrundningsläget.

Gäller för

Round(Vector<Double>, MidpointRounding)

Källa:
Vector.cs
Källa:
Vector.cs
Källa:
Vector.cs

Avrundar varje element i en vektor till närmaste heltal med det angivna avrundningsläget.

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)

Parametrar

vector
Vector<Double>

Vektorn som ska avrundas.

mode
MidpointRounding

Läget under vilket vector ska avrundas.

Returer

Resultatet av avrundning av varje element i vector till närmaste heltal med hjälp av mode.

Gäller för

Round(Vector<Single>, MidpointRounding)

Källa:
Vector.cs
Källa:
Vector.cs
Källa:
Vector.cs

Avrundar varje element i en vektor till närmaste heltal med det angivna avrundningsläget.

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)

Parametrar

vector
Vector<Single>

Vektorn som ska avrundas.

mode
MidpointRounding

Läget under vilket vector ska avrundas.

Returer

Resultatet av avrundning av varje element i vector till närmaste heltal med hjälp av mode.

Gäller för