Tensor.OnesComplement Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| OnesComplement<T>(ReadOnlyTensorSpan<T>) |
Esegue il complemento di un oggetto su un tensore. |
| OnesComplement<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>) |
Esegue il complemento di un oggetto su un tensore. |
OnesComplement<T>(ReadOnlyTensorSpan<T>)
- Origine:
- Tensor.op_OnesComplement.cs
- Origine:
- TensorExtensions.cs
- Origine:
- Tensor.op_OnesComplement.cs
Esegue il complemento di un oggetto su un tensore.
public:
generic <typename T>
where T : System::Numerics::IBitwiseOperators<T, T, T> static System::Numerics::Tensors::Tensor<T> ^ OnesComplement(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x);
public static System.Numerics.Tensors.Tensor<T> OnesComplement<T>(in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x) where T : System.Numerics.IBitwiseOperators<T,T,T>;
static member OnesComplement : ReadOnlyTensorSpan -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IBitwiseOperators<'T, 'T, 'T>)> (requires 'T :> System.Numerics.IBitwiseOperators<'T, 'T, 'T>)
Public Function OnesComplement(Of T As IBitwiseOperators(Of T, T, T)) (ByRef x As ReadOnlyTensorSpan(Of T)) As Tensor(Of T)
Parametri di tipo
- T
Tipo degli elementi nel tensore.
Parametri
Il tensore al complemento di uno.
Valori restituiti
Nuovo tensore contenente il risultato di ~x.
Si applica a
OnesComplement<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)
- Origine:
- Tensor.op_OnesComplement.cs
- Origine:
- TensorExtensions.cs
- Origine:
- Tensor.op_OnesComplement.cs
Esegue il complemento di un oggetto su un tensore.
public:
generic <typename T>
where T : System::Numerics::IBitwiseOperators<T, T, T> static System::Numerics::Tensors::TensorSpan<T> ^ OnesComplement(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> OnesComplement<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IBitwiseOperators<T,T,T>;
static member OnesComplement : ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IBitwiseOperators<'T, 'T, 'T>)
Public Function OnesComplement(Of T As IBitwiseOperators(Of T, T, T)) (ByRef x As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Parametri di tipo
- T
Tipo degli elementi nel tensore.
Parametri
Il tensore al complemento di uno.
- destination
- TensorSpan<T>
Destinazione in cui viene scritto il risultato di ~x .
Valori restituiti
Riferimento a destination.
Eccezioni
Le forme di x e destination non sono compatibili.