2d-algebra
Advanced tools
Comparing version 3.0.0 to 3.1.0
{ | ||
"name": "2d-algebra", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Library for building expressions and computing derivatives", | ||
@@ -5,0 +5,0 @@ "repository": "github:abersnaze/2d-algebra", |
@@ -87,11 +87,12 @@ # 2D Algebra Typescript Module | ||
| eq(b) | equivalent to `minus(b).squared()` | | ||
| abs() | replaces the top term with the absolution value | | ||
Once the expression is complete you can use the following methods | ||
| Method | Description | | ||
| ------------------------------ | --------------------------------------------------------------------------------- | | ||
| eval(Map<symbol, number>) | fully evaluate the expression. throw error if not all of the symbols are defined. | | ||
| apply(Map<symbol, Expression>) | substitute one or more variables with expressions and return the new expression. | | ||
| derivative(symbol) | compute the partial derivative with respect to one symbol. | | ||
| toString() | makes a ASCII art tree diagram of the expression tree. | | ||
| Method | Description | | ||
| ------------------------- | ----------------------------------------------------------------------------------- | | ||
| eval(Map<symbol, number>) | fully evaluate the expression. throw error if not all of the symbols are defined. | | ||
| apply(Map<symbol, Term>) | substitute one or more variables with different term and return the new expression. | | ||
| derivative(symbol) | compute the partial derivative with respect to one symbol. | | ||
| toString() | makes a ASCII art tree diagram of the expression tree. | | ||
@@ -98,0 +99,0 @@ ### Why no parentheses? `(` or `)` |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
155
8074
3
0
2