Question: How to solve conflict between names Trace in LinearAlgebra package and evala option?

Hello! I am using Trace procedure from LinearAlgebra package and I also want to use Trace placeholder in conjunction with evala (two different procedures with the same name). If I load the LinearAlgebra package, then the Trace placeholder will not work.

The only solution I found is to avoid loading the LinearAlgebra package and call each function like LinearAlgebra[Trace](Q). But this is very tedious (I use many functions in that package), and also if some other user uses my code, he might have already loaded the LinearAlgebra package.

Is there any way to rename a command inside the package when loading it, or any other workaround?

Thank you!
Santiago

 

Please Wait...