Please contribute this repo at https://github.com/Hedgehog-Computing/hedgehog-lab/tree/dev/hedgehog-libs/math
The official Math library for Hedgehog Lab, maintained by Hedgehog Computing.
- Open Hedgehog Lab at https://hhlab.dev/
- import math library and call the function
// Import the function
*import math:inv
// Initialize 2D array A
let A = [[1,2],[4,5]]
// Print the inverse of 2D array A
print(inv(A))
and you will see the result on the right:
[[-1.6666666666666667,0.6666666666666666],
[1.3333333333333333,-0.3333333333333333]]
Document of functions to be implemented: (updated upon pulls and merges) #6
Document of example function for how to write, say, a mathjs wrapper function: #16
Document of styling guide, a brief description of a few guidelines we'd like followed for contributions: https://github.com/Hedgehog-Computing/Hedgehog-Script-Style-Guide
Thank you!