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#
An integer array of linearized indexes.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
public static int[] Find(
Tensor<bool> entries
)
Parameters
Return Value
Int32[]An integer array of linearized indexes.
Exceptions
Argument | entries is null. |