Share via


Tensor.UnaryNegation(Tensor<TScalar>) Operator

Definition

public:
 static System::Numerics::Tensors::Tensor<TScalar> ^ operator -(System::Numerics::Tensors::Tensor<TScalar> ^ tensor);
public static System.Numerics.Tensors.Tensor<TScalar> operator -(System.Numerics.Tensors.Tensor<TScalar> tensor);
static member ( ~- ) : System.Numerics.Tensors.Tensor<'TScalar (requires 'TScalar :> System.Numerics.IUnaryNegationOperators<'TScalar, 'TScalar>)> -> System.Numerics.Tensors.Tensor<'TScalar (requires 'TScalar :> System.Numerics.IUnaryNegationOperators<'TScalar, 'TScalar>)>
Public Shared Operator - (tensor As Tensor(Of TScalar)) As Tensor(Of TScalar)

Parameters

tensor
Tensor<TScalar>

Returns

Tensor<TScalar>

Applies to