Sunday 10 January 2016

julia shell: help : Access julia documentation


Open Julia shell, and press ? to open help?> mode. In help mode, you can type any variable name, function name, macro etc., to get information.
julia> myName="krishna";

help?> myName
search: myName

  No documentation found.

  myName is of type ASCIIString:

  Summary:

  immutable ASCIIString <: DirectIndexString

  Fields:

  data :: Array{UInt8,1}

help?> sort
search: sort sort! sortrows sortperm sortcols sortperm! Cshort issorted QuickSort MergeSort Cushort print_shortest PartialQuickSort searchsorted searchsortedlast searchsortedfirst DenseVecOrMat

  sort(A, dim, [alg=<algorithm>,] [by=<transform>,] [lt=<comparison>,] [rev=false])

  Sort a multidimensional array A along the given dimension.

  sort(v, [alg=<algorithm>,] [by=<transform>,] [lt=<comparison>,] [rev=false])

  Variant of sort! that returns a sorted copy of v leaving v itself unmodified.

help?> sortcols
search: sortcols

  sortcols(A, [alg=<algorithm>,] [by=<transform>,] [lt=<comparison>,] [rev=false])

  Sort the columns of matrix A lexicographically.


Previous                                                 Next                                                 Home

No comments:

Post a Comment