天天看點

julia語言 python解釋器_剛在csdn上看到一個新語言julia,擁有py的簡潔c的快速

julia> x = 3

這個看上去不錯

Additionally, parenthesized expressions can be used as coefficients to variables, implying multiplication of the expression by the variable:

julia> (x-1)x

6

但是馬上就給自己制造了麻煩,估計以後的使用者也會被煩死

julia> (x-1)(x+1)

type error: apply: expected Function, got Int64

julia> x(x+1)

type error: apply: expected Function, got Int64

Both of these expressions are interpreted as function application

【 在 nyliubing (天若有情) 的大作中提到: 】

: 好牛啊,但沒百度到什麼資料