Skip to content

Commit 1b4afd9

Browse files
committed
Added references to broadcasting rules
1 parent 9f761fc commit 1b4afd9

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/function/matrix/broadcastMatrices.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const dependencies = ['typed']
88
export const createBroadcastMatrices = /* #__PURE__ */ factory(name, dependencies, ({ typed }) => {
99
/**
1010
* Broadcast any number of arrays or matrices against each other.
11+
* The broadcasting rules can be found in [Matrices#Broadcasting](./datatype/matrices#Broadcasting).
1112
*
1213
* Syntax:
1314
*

src/function/matrix/broadcastSizes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const createBroadcastSizes = /* #__PURE__ */ factory(name, dependencies,
88
/**
99
* Calculate the broadcasted size of one or more matrices or arrays.
1010
* Always returns an Array containing numbers.
11-
*
11+
* The broadcasting rules can be found in [Matrices#Broadcasting](./datatype/matrices#Broadcasting).*
1212
* Syntax:
1313
*
1414
* math.broadcastSizes(x, y)

src/function/matrix/broadcastTo.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ const dependencies = ['typed']
77
export const createBroadcastTo = /* #__PURE__ */ factory(name, dependencies, ({ typed }) => {
88
/**
99
* Broadcast an array to a specified size.
10-
*
10+
* The broadcasting rules can be found in [Matrices#Broadcasting](./datatype/matrices#Broadcasting).
11+
*
1112
* Syntax:
1213
*
1314
* math.broadcastTo(x, size)

0 commit comments

Comments
 (0)