How can I display the names of elements stored in an object in Julia? For example, in R, we have the command names()
which displays the names of those elements. In Julia, the command eigen(A)
stores the eigenvalues in values
and the eigenvectors in vectors
, but I had to look for the github page of the eigen
command to know that. Isn’t there a command in Julia to know those names directly? Thank you!
2 Likes
Ah thank you! I indeed tried fieldnames()
, but without the command typeof()
! Perfect!!