Vector<T>.One 属性

定义

返回一个包含所有 1 的向量。

public:
 static property System::Numerics::Vector<T> One { System::Numerics::Vector<T> get(); };
public static System.Numerics.Vector<T> One { get; }
member this.One : System.Numerics.Vector<'T (requires 'T : struct)>
Public Shared ReadOnly Property One As Vector(Of T)

属性值

Vector<T>

一个包含所有 1 的向量。

例外

.NET 5 及更高版本:不支持类型 T

适用于