I wanted to compute the determinant and inverse of a Matrix{Complex.Num}, but stumbled upon
TypeError: non-boolean (Symbolics.Num) used in boolean context
because the generic version of LU factorization from LinearAlgebra.jl was used.
I've checked it for Symbolics.jl v5.1.0 and Julia v1.7.2
I know that there is a special version of LU factorization sym_lu defined for real Symbolic matrices. Can it be reused for Complex Symbolic matrices as well?
I wanted to compute the determinant and inverse of a
Matrix{Complex.Num}
, but stumbled uponbecause the generic version of LU factorization from
LinearAlgebra.jl
was used. I've checked it for Symbolics.jl v5.1.0 and Julia v1.7.2I know that there is a special version of LU factorization
sym_lu
defined for real Symbolic matrices. Can it be reused for Complex Symbolic matrices as well?If you want an MWE to play with, here is one: