JuliaSymbolics / SymbolicUtils.jl

Symbolic expressions, rewriting and simplification
https://docs.sciml.ai/SymbolicUtils/stable/
Other
536 stars 107 forks source link

How can i get sin(1) in SymbolicUtils? #412

Closed liushang0322 closed 2 years ago

liushang0322 commented 2 years ago

in matlab sin(sym(1))

the answer is: sin(1)

i want to know how can i get the result which is like substitute(sin(x),Dict([x=>1]),fold=false)

This is not as concise as matlab

shashi commented 2 years ago
julia> term(sin,1)
sin(1)