Getting help

In [ ]:
using LinearAlgebra

For the standard library and installed packages

For displaying a short hint (docstring) about a function or type, use the ?:

In [ ]:
In [ ]:
In [ ]:

A frequent question one asks when trying to understand the structure of a new library or code is: What can I actually do with this type? This question is answered by the command methodswith, which lists all methods which has at least one argument of the specified type:

In [ ]:

To search more specifically, one may optionally specify a module or function:

In [ ]:
methodswith(Diagonal, tr)

The reverse question, namely what concrete methods do I have for one function, answers methods:

In [ ]:

Again a more specific version, which searches for methods with respect to a particular type is

In [ ]:
methods(transpose, [Symmetric])


Explore the following functions and types using the tools mentioned above

  • fill
  • ones
  • cholesky
  • eigen
  • qr
  • factorize
  • Tridiagonal
  • BunchKaufman
  • UpperHessenberg

Julia Documentation

The Julia documentation is the starting point for finding answers about the julia language, any Base package or the standard library. If you suspect something is wrong with Julia itself, looking at the list of issues or list of Pull requests can be helpful.

Most Julia packages have adopted similar standards to Base Julia with respect to documentation. They are usually developed on github and that's also a very good resource to find the project's homepage, installation tips or quickstart guides. Most have their own documentation somewhere linked as well (look out for an icon like ). If you have trouble with the package, it's also worth checking out the list of issues or pull requests to see if others have the same problem or people are already working on a fix. If not generally maintainers are more than happy if you get in touch there. Even if you are a Julia newbie: Be not afraid to send a patch or open a PR! Most maintainers are happy to help if you make the first step ;).

Julia Community

The Julia community is open and friendly. The primary channel of communication is the Julia Discourse. There's also a Julia Slack.