I wanted to calculate the matrix exponential of a symbolic matrix. But the following code doesn't work:
using Symbolics
using LinearAlgebra
function run()
@variables a b c t
M = [ -a b 0
1 c -a
0 1 0]
Mt = M*t
expMt = exp(Mt)
print(expMt[1,1])
end
@time run()
It gives the error: MethodError: no method matching exp(::Matrix{Num})
I wanted to calculate the matrix exponential of a symbolic matrix. But the following code doesn't work:
It gives the error: MethodError: no method matching exp(::Matrix{Num})
I asked this on here https://discourse.julialang.org/t/symbolic-matrix-exponential/85435. And I was told to open an issue. It would be very helpful if this is implemented.