語言

Vector.Truncate 方法

定義

多載

名稱 Description
Truncate(Vector<Double>)

截斷向量中的每個元素。

Truncate(Vector<Single>)

截斷向量中的每個元素。

Truncate(Vector<Double>)

來源:
Vector.cs
來源:
Vector.cs
來源:
Vector.cs

截斷向量中的每個元素。

public:
 static System::Numerics::Vector<double> Truncate(System::Numerics::Vector<double> vector);
public static System.Numerics.Vector<double> Truncate(System.Numerics.Vector<double> vector);
static member Truncate : System.Numerics.Vector<double> -> System.Numerics.Vector<double>
Public Function Truncate (vector As Vector(Of Double)) As Vector(Of Double)

參數

vector
Vector<Double>

截斷向量。

傳回

每個元素 vector在 中截斷。

適用於

Truncate(Vector<Single>)

來源:
Vector.cs
來源:
Vector.cs
來源:
Vector.cs

截斷向量中的每個元素。

public:
 static System::Numerics::Vector<float> Truncate(System::Numerics::Vector<float> vector);
public static System.Numerics.Vector<float> Truncate(System.Numerics.Vector<float> vector);
static member Truncate : System.Numerics.Vector<single> -> System.Numerics.Vector<single>
Public Function Truncate (vector As Vector(Of Single)) As Vector(Of Single)

參數

vector
Vector<Single>

截斷向量。

傳回

每個元素 vector在 中截斷。

適用於