Tensor<T>.Unary Negation Operator
Negates a tensor.
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
C#
A tensor of the same shape as value whose elements are equal to the negation of the corresponding elements of value.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
public static Tensor<T> operator -(
Tensor<T> value
)
Parameters
Return Value
Tensor<T>A tensor of the same shape as value whose elements are equal to the negation of the corresponding elements of value.
Exceptions
Argument | value is null. |