Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Athan <[email protected]>
  • Loading branch information
kgryte authored Nov 21, 2024
1 parent e777c22 commit e1fedfc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lib/node_modules/@stdlib/array/base/mskbinary3d/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ limitations under the License.

# mskbinary3d

> Apply a binary callback to elements in two three-dimensional nested input arrays according to elements in a three-dimensional nested
> mask array and assign results to elements in a three-dimensional nested output array.
> Apply a binary callback to elements in two three-dimensional nested input arrays according to elements in a three-dimensional nested mask array and assign results to elements in a three-dimensional nested output array.
<section class="intro">

Expand All @@ -39,8 +38,7 @@ var mskbinary3d = require( '@stdlib/array/base/mskbinary3d' );

#### mskbinary3d( arrays, shape, fcn )

Applies a binary callback to elements in two three-dimensional nested input arrays according to elements in a three-dimensional nested
mask array and assigns results to elements in a three-dimensional nested output array.
Applies a binary callback to elements in two three-dimensional nested input arrays according to elements in a three-dimensional nested mask array and assigns results to elements in a three-dimensional nested output array.

```javascript
var add = require( '@stdlib/math/base/ops/add' );
Expand All @@ -53,8 +51,8 @@ var x = [
var z = zeros3d( [ 2, 2, 2 ] );

var mask = [
[ [ 0.0, 1.0 ], [ 0.0, 0.0 ] ],
[ [ 1.0, 0.0 ], [ 0.0, 1.0 ] ]
[ [ 0, 1 ], [ 0, 0 ] ],
[ [ 1, 0 ], [ 0, 1 ] ]
];

var shape = [ 2, 2, 2 ];
Expand Down

0 comments on commit e1fedfc

Please sign in to comment.