Tensor<T>.Log2InPlace Method

Computes the base 2 logarithm of the elements of a tensor in place.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0
C#
public Tensor<T> Log2InPlace(
	Tensor<bool>? mask = null
)

Parameters

mask  Tensor<Boolean>  (Optional)
Optional. A boolean tensor that specifies whether the operation should be performed at the location. If omitted, the operation is performed everywhere.

Return Value

Tensor<T>
This tensor with the elements replaced with their base 2 logarithm.

See Also