Tensor.Round メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
Round<T>(ReadOnlyTensorSpan<T>) |
指定したテンソル内の数値の要素ごとの丸めを計算します |
Round<T>(ReadOnlyTensorSpan<T>, Int32) |
指定したテンソル内の数値の要素ごとの丸めを計算します |
Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding) |
指定したテンソル内の数値の要素ごとの丸めを計算します |
Round<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>) |
指定したテンソル内の数値の要素ごとの丸めを計算します |
Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding) |
指定したテンソル内の数値の要素ごとの丸めを計算します |
Round<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>) |
指定したテンソル内の数値の要素ごとの丸めを計算します |
Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding, TensorSpan<T>) |
指定したテンソル内の数値の要素ごとの丸めを計算します |
Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding, TensorSpan<T>) |
指定したテンソル内の数値の要素ごとの丸めを計算します |
Round<T>(ReadOnlyTensorSpan<T>)
指定したテンソル内の数値の要素ごとの丸めを計算します
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::Tensor<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x);
public static System.Numerics.Tensors.Tensor<T> Round<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T)) As Tensor(Of T)
型パラメーター
- T
パラメーター
戻り値
適用対象
Round<T>(ReadOnlyTensorSpan<T>, Int32)
指定したテンソル内の数値の要素ごとの丸めを計算します
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::Tensor<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int digits);
public static System.Numerics.Tensors.Tensor<T> Round<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int digits) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * int -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), digits As Integer) As Tensor(Of T)
型パラメーター
- T
パラメーター
- digits
- Int32
戻り値
適用対象
Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding)
指定したテンソル内の数値の要素ごとの丸めを計算します
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::Tensor<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, MidpointRounding mode);
public static System.Numerics.Tensors.Tensor<T> Round<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, MidpointRounding mode) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * MidpointRounding -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), mode As MidpointRounding) As Tensor(Of T)
型パラメーター
- T
パラメーター
- mode
- MidpointRounding
戻り値
適用対象
Round<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)
指定したテンソル内の数値の要素ごとの丸めを計算します
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::TensorSpan<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Round<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
型パラメーター
- T
パラメーター
- destination
- TensorSpan<T>
戻り値
適用対象
Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding)
指定したテンソル内の数値の要素ごとの丸めを計算します
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::Tensor<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int digits, MidpointRounding mode);
public static System.Numerics.Tensors.Tensor<T> Round<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int digits, MidpointRounding mode) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * int * MidpointRounding -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), digits As Integer, mode As MidpointRounding) As Tensor(Of T)
型パラメーター
- T
パラメーター
- digits
- Int32
- mode
- MidpointRounding
戻り値
適用対象
Round<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>)
指定したテンソル内の数値の要素ごとの丸めを計算します
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::TensorSpan<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int digits, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Round<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int digits, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * int * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), digits As Integer, ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
型パラメーター
- T
パラメーター
- digits
- Int32
- destination
- TensorSpan<T>
戻り値
適用対象
Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding, TensorSpan<T>)
指定したテンソル内の数値の要素ごとの丸めを計算します
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::TensorSpan<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, MidpointRounding mode, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Round<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, MidpointRounding mode, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * MidpointRounding * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), mode As MidpointRounding, ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
型パラメーター
- T
パラメーター
- mode
- MidpointRounding
- destination
- TensorSpan<T>
戻り値
適用対象
Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding, TensorSpan<T>)
指定したテンソル内の数値の要素ごとの丸めを計算します
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::TensorSpan<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int digits, MidpointRounding mode, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Round<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int digits, MidpointRounding mode, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * int * MidpointRounding * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), digits As Integer, mode As MidpointRounding, ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
型パラメーター
- T
パラメーター
- digits
- Int32
- mode
- MidpointRounding
- destination
- TensorSpan<T>
戻り値
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET