2016-09-22 3 views

답변

8

lookfor의 상응 apropos입니다 : 당신이 무엇을 찾고 있는지에 따라

julia> apropos("fourier transform") 
Base.DFT.fft 

julia> apropos("concatenate") 
Base.:* 
Base.hcat 
Base.cat 
Base.flatten 
Base.mapslices 
Base.vcat 
Base.hvcat 
Base.SparseArrays.blkdiag 
[email protected] 

다른 유용한 기능은 당신에게 특정 인수 유형 지정 방법의 목록을 제공 할 수 있습니다 methodswith을 포함 :

julia> methodswith(Regex) 
25-element Array{Method,1}: 
==(a::Regex, b::Regex) at regex.jl:370                 
apropos(io::IO, needle::Regex) at docs/utils.jl:397             
eachmatch(re::Regex, str::AbstractString) at regex.jl:365            
eachmatch(re::Regex, str::AbstractString, ovr::Bool) at regex.jl:362         
... 
+2

이 matlab에 이름이 실제로 더 좋을 수도 유일한 사례 중 하나입니다 ... –

+0

는'apropos' 꽤 표준 유닉스 명령은 nightcod3r @ –

+0

하지만 참고 : 'apropos'는'lookfor'처럼로드되지 않은 패키지의 함수를 탐지하지 않습니다. 그럼에도 불구하고 Google에 관계없이 유용 할 수 있습니다. 공식 문서/패키지 페이지로 바로가는 좋은 방법은 '푸리에 변환 사이트 : julialang.org'를 검색하고 있습니다. –