How to use function inside a package

julia> using Laplacians

julia> :IJV in names(Laplacians)
false

julia> :IJV in names(Laplacians, all=true)
true

julia> Laplacians.IJV
Laplacians.IJV

help?> Laplacians.IJV
  ijv = IJV(A::SparseMatrixCSC)

  Convert a sparse matrix to an IJV.

You can use it like Laplacians.IJV(A). This is because IJV is not exported by Laplacians

edit: I had a look at the docs, and this is intended. IJV is listed under “unexported (private) functions” in the API reference here

4 Likes