Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Algebrite is a Javascript library for symbolic mathematics (technically, CoffeeScript) designed to be comprehensible and easily extensible.
var Algebrite = require('algebrite')
Algebrite.run('x + x') // => "2 x"
Algebrite.factor('10!').toString() // => "2^8 3^4 5^2 7"
Algebrite.eval('integral(x^2)').toString() // => "1/3 x^3"
// composing...
Algebrite.integral(Algebrite.eval('x')).toString() // => "1/2 x^2"
Algebrite supports: arbitrary-precision arithmetic, complex quantities, simplification, expansion , substitution, symbolic and numeric roots, units of measurement, matrices, derivatives and gradients, tensors, integrals, multi-integrals, computing integrals and much more!
Please refer to http://algebrite.org/
All the built-in methods in Algebrite are exposed through a javascript interface. Strings are automatically parsed as expressions, numbers are converted into the appropriate representation, and the internal cons objects are returned.
The cons objects have a toString
method which converts it into a pretty-print notation.
For node use:
npm install
npm run build
To debug things, better use the debugger from Chrome, so build for the browser like so:
npm install
npm run build-for-browser
index.html
For full tests:
npm test
For the subset of tests in run-micro-tests.coffee:
npm run microtest
please take a look at the contributing file.
Algebrite starts as an adaptation of the EigenMath CAS by George Weigt. Also you might want to check another fork of EigenMath: SMIB by Philippe Billet.
Another CAS of similar nature is SymPy made in Python.
Three other Javascript CAS are
FAQs
Computer Algebra System in Coffeescript
The npm package algebrite receives a total of 1,816 weekly downloads. As such, algebrite popularity was classified as popular.
We found that algebrite demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.