Skip to content

Commit 3750e27

Browse files
authored
docs: fix link to math.rationalize (#2616)
1 parent f9b944a commit 3750e27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/expressions/algebra.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The rules used by `math.derivative` can be found on Wikipedia:
8888
8989
## Rationalize
9090
91-
The function [`math.transform`](../reference/functions/transform.md) transforms a rationalizable expression in a rational fraction.
91+
The function [`math.rationalize`](../reference/functions/rationalize.md) transforms a rationalizable expression in a rational fraction.
9292
If rational fraction is one variable polynomial then converts the numerator and denominator in canonical form, with decreasing exponents, returning the coefficients of numerator.
9393
9494
```js
@@ -107,4 +107,4 @@ const ret = math.rationalize('x+x+x+y',{},true)
107107
// ret.expression=3*x+y, ret.variables = ["x","y"]
108108
const ret = math.rationalize('-2+5x^2',{},true)
109109
// ret.expression=5*x^2-2, ret.variables = ["x"], ret.coefficients=[-2,0,5]
110-
```
110+
```

0 commit comments

Comments
 (0)