Hi,
I would like to use Symbolics.jl to make some symbolic algebra on matrices.
I have got a problem to express this
using Symbolics
using Latexify
using LinearAlgebra
@variables ω
A = exp(-1im*ω)
This is the outcome (julia 1.6.7, Symbolics v4.13.0 )
ERROR: MethodError: no method matching decompose(::Num)
Closest candidates are:
decompose(::Integer) at float.jl:555
decompose(::Float16) at float.jl:557
decompose(::Float32) at float.jl:568
…
Stacktrace:
[1] isfinite(x::Num)
@ Base ./float.jl:453
[2] exp(z::Complex{Num})
@ Base ./complex.jl:642
[3] top-level scope
@ REPL[227]:1