|
|
|
|
|
by kwertzzz
1476 days ago
|
|
> I’ve read some Julia source and its an awful experience trying to figure out what method is actually going to get executed because of multiple dispatch. This is the purpose of the @which macro: julia> @which diag(randn(3,3))
diag(A::AbstractMatrix) in LinearAlgebra at /opt/julia1.7.2/share/julia/stdlib/v1.7/LinearAlgebra/src/dense.jl:249
It gives you filename, line number and function signature. |
|