Skip to content
Prev Previous commit
Add relation of trueloc/falseloc with which/merge/pack
  • Loading branch information
awvwgk committed Dec 21, 2021
commit 13460663bc21346ea2fbdead460fe6a18014b88e
4 changes: 4 additions & 0 deletions doc/specs/stdlib_array.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Experimental
#### Description

Turn a logical mask into an index array by selecting all true values.
Provides similar functionality like the built-in `where` or the intrinsic procedures `merge` and `pack` when working with logical mask.
The built-in / intrinsics are usually preferable to `trueloc`, unless the access to the index array is required.

#### Syntax

Expand Down Expand Up @@ -64,6 +66,8 @@ Experimental
#### Description

Turn a logical mask into an index array by selecting all false values.
Provides similar functionality like the built-in `where` or the intrinsic procedures `merge` and `pack` when working with logical mask.
The built-in / intrinsics are usually preferable to `falseloc`, unless the access to the index array is required.

#### Syntax

Expand Down