You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The MathArray typescript type cannot accept any N-dimensional arrays (it is limited to 1D or 2D arrays). This is despite many/all functions where the MathArray type is used being capable of handling and returning arbitrary n-dimensional arrays
To Reproduce
Use a function from mathjs which accepts a MathCollection or MathArray parameter in a typescript file. Try to apply the function to a 3D or greater dimensional array. Typescript linters will claim there is an incorrect type but the function should run normally and output the result as expected.
The text was updated successfully, but these errors were encountered:
Description
The MathArray typescript type cannot accept any N-dimensional arrays (it is limited to 1D or 2D arrays). This is despite many/all functions where the MathArray type is used being capable of handling and returning arbitrary n-dimensional arrays
To Reproduce
Use a function from mathjs which accepts a MathCollection or MathArray parameter in a typescript file. Try to apply the function to a 3D or greater dimensional array. Typescript linters will claim there is an incorrect type but the function should run normally and output the result as expected.
The text was updated successfully, but these errors were encountered: