Skip to content

Commit

Permalink
fixed typing mistake in index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vrushaket committed Aug 23, 2023
1 parent 9d6353f commit de4beaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -229,5 +229,6 @@ Michael Greminger <[email protected]>
Kiku <[email protected]>
MaybePixem <[email protected]>
Aly Khaled <[email protected]>
vrushaket <[email protected]>

# Generated by tools/update-authors.js
9 changes: 3 additions & 6 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2907,8 +2907,8 @@ declare namespace math {
cumsum(...args: MathType[]): MathType[]
/**
* @param array A single matrix
* @p corr(xArray: MathCollection, yArray: MathCollection): MathNumericType
ms along the given dimension
* @param dim The dimension along which to sum (defaults to 0)
* @returns The cumulative sums along the given dimension
*/
cumsum(array: MathCollection, dim?: number): MathCollection

Expand Down Expand Up @@ -2968,10 +2968,7 @@ ms along the given dimension
* @param {Array} yArray A matrix to compute correlation coefficient
* @returns correlation coefficient
*/
corr(
xArray: MathCollection,
yArray: MathCollection
): MathNumericType
corr(xArray: MathCollection, yArray: MathCollection): MathNumericType

/*************************************************************************
* String functions
Expand Down

0 comments on commit de4beaf

Please sign in to comment.