Skip to content

Commit

Permalink
feat: add NumberMatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
lpatiny committed Apr 17, 2023
1 parent d935183 commit 1f85941
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/core/NumberArray.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/**
* In order to store an array of numbers we prefer to either use native javascript
* arrays or to use Float64Array
*/

export type NumberArray =
| number[]
| Int8Array
Expand Down
11 changes: 11 additions & 0 deletions src/core/NumberMatrix.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export type NumberMatrix =
| number[][]
| Int8Array[]
| Uint8Array[]
| Uint8ClampedArray[]
| Int16Array[]
| Uint16Array[]
| Int32Array[]
| Uint32Array[]
| Float32Array[]
| Float64Array[];

0 comments on commit 1f85941

Please sign in to comment.