Frequently Asked Questions General Is Julia named after someone or something? Why don’t you compile Matlab/Python/R/… code to Julia? Sessions and the REPL How do I delete an obj...
Iteration utilities Iteration utilities Base.Iterators.Stateful — Type. Stateful ( itr ) There are several different ways to think about this iterator wrapper: It provi...
Random Numbers Random generation functions Subsequences, permutations and shuffling Generators (creation and seeding) Hooking into the Random API Generating random values of cus...
Essentials Introduction Getting Around Keywords Standard Modules Base Submodules All Objects Properties of Types Type relations Declared structure Memory layout Special va...
Numbers Standard Numeric Types Abstract number types Concrete number types Data Formats General Number Functions and Constants Integers BigFloats and BigInts Numbers ...
Linear Algebra Special matrices Elementary operations Matrix factorizations The uniform scaling operator Matrix factorizations Standard Functions Low-level matrix operations ...
Variables Allowed Variable Names Assignment expressions and assignment versus mutation Stylistic Conventions Variables A variable, in Julia, is a name associated (or bound) ...
11.1 最简单的代码块 11.1 最简单的代码块 还记得吗?我在第一章的最开始就已经在使用英文分号; 来分隔多个并列的表达式了。例如: julia > a = 5 * 8 ; b = a ^ 2 1600 julia > 这时,Julia 会(从左到右)逐个地对这些表达式进行求值,并把最后一个表达式的结果...