theorem.js
Version:
A Math library for computation in JavaScript
21 lines (20 loc) • 549 B
HTML
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<h1>TheoremJS - Tests</h1>
<script src="/eyejs/" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bignumber.js/7.2.1/bignumber.min.js" charset="utf-8"></script>
<script src="/static/theorem.js" charset="utf-8"></script>
<script>
const t = new TheoremJS()
eye.test(
$ => $(t.integrate(t.polynomial(1, 0, 0)).values).Equal([1/3, 0, 0, 0])
)
eye.checkout()
</script>
</body>
</html>