Linguaggio

Tensor.OnesComplement(Tensor<TScalar>) Operatore

Definizione

Esegue il complemento di un oggetto su un tensore.

public:
 static System::Numerics::Tensors::Tensor<TScalar> ^ operator ~(System::Numerics::Tensors::Tensor<TScalar> ^ tensor);
extension<TScalar>(System.Numerics.Tensors.Tensor<TScalar>) where TScalar : IBitwiseOperators<TScalar,TScalar,TScalar>
{
    public static System.Numerics.Tensors.Tensor<TScalar> operator ~(System.Numerics.Tensors.Tensor<TScalar> tensor);
}
static member op_OnesComplement : System.Numerics.Tensors.Tensor<'TScalar (requires 'TScalar :> System.Numerics.IBitwiseOperators<'TScalar, 'TScalar, 'TScalar>)> -> System.Numerics.Tensors.Tensor<'TScalar (requires 'TScalar :> System.Numerics.IBitwiseOperators<'TScalar, 'TScalar, 'TScalar>)>
Public Shared Operator Not (tensor As Tensor(Of TScalar)) As Tensor(Of TScalar)

Parametri

tensor
Tensor<TScalar>

Il tensore al complemento di uno.

Valori restituiti

Tensor<TScalar>

Nuovo tensore contenente il risultato di ~tensor.

Si applica a