Skip to content

Commit 3ab6a03

Browse files
committed
fix(docs): fix TSDoc comment
1 parent 92cb7d6 commit 3ab6a03

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ import type { Matrix, Vector } from "./types.js";
33
/**
44
* Creates a matrix (multi-dimensional array) with your desired dimensions and values.
55
*
6-
* If a number is passed as the `dimensions` parameter, a matrix with that number of dimensions
7-
* is returned. If an array of numbers is passed, the returned matrix have those exact dimensions.
8-
*
9-
* @param dimensions The desired dimensions of the matrix. A number or array of numbers.
6+
* @param dimensions The desired dimensions of the matrix.
107
* @param initialValues The initial value for each point in the matrix. Can also take a callback function—with an argument that resolves to the current point's vector—to fill the matrix dynamically. Defaults to `null`.
118
*
129
* @example

0 commit comments

Comments
 (0)