Tensor.Find Method

Gets the linearized indexes where the specified boolean tensor is true.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
C#
public static int[] Find(
	Tensor<bool> entries
)

Parameters

entries  Tensor<Boolean>
A boolean tensor.

Return Value

Int32[]
An integer array of linearized indexes.

Exceptions

ArgumentNullException

entries is null.

See Also