claude typos; plotly+scatter3d issue; google analytics
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# Symbolics.jl
|
||||
|
||||
XXX This needs updating! XXX
|
||||
|
||||
XXX add https://docs.sciml.ai/SymbolicIntegration/stable/ XXX
|
||||
|
||||
|
||||
There are a few options in `Julia` for symbolic math, for example, the `SymPy` package which wraps a Python library. This section describes a collection of native `Julia` packages providing many features of symbolic math.
|
||||
@@ -238,27 +240,6 @@ w = x^3 + y^3 - 2z^3
|
||||
substitute(w, Dict(x=>2, y=>3))
|
||||
```
|
||||
|
||||
The `fold` argument can be passed `false` to inhibit evaluation of values. Compare:
|
||||
|
||||
|
||||
```{julia}
|
||||
ex = 1 + sqrt(x)
|
||||
substitute(ex, x=>2), substitute(ex, x=>2, fold=false)
|
||||
```
|
||||
|
||||
Or
|
||||
|
||||
|
||||
```{julia}
|
||||
ex = sin(x)
|
||||
substitute(ex, x=>π), substitute(ex, x=>π, fold=false)
|
||||
```
|
||||
|
||||
For the latter, it is more efficient to directly use `Term`, which creates the symbolic expression representing the calling of `sin(π)`:
|
||||
|
||||
```{julia}
|
||||
Symbolics.Term(sin, [π])
|
||||
```
|
||||
|
||||
|
||||
### Simplify
|
||||
|
||||
Reference in New Issue
Block a user