Julia 中文文档|\__'_|_|_|\__'_| | Official https://julialang.org/ release |__/ | julia> 1 + 2 3 julia> ans 3 输入 CTRL-D(同时按 Ctrl 键和 d 键)或 exit() 便可以退出交互式会话。在交互式模式中,julia 会 显示一条横幅并提示用户输入。一旦用户输入了一段完整的代码(表达式),例如 1 + 2,然后按回 车,交互式会 资料中都有详细介绍: • 浮点数算术的权威指南是 IEEE 754-2008 标准;然而这篇标准在网上无法免费获得。 • 关于浮点数是如何表示的,想要一个简单而明白的介绍的话,可以看 John D. Cook 的文章以及 他关于从这种表示与实数理想的抽象化的差别中产生的一些问题的介绍 • 同样推荐 Bruce Dawson 的一系列关于浮点数的博客文章。 • 想要一个对浮点数和使用浮点数计 这个点语法,也能用在用户自定义的运算符上。例如,通过定义 ⊗(A,B) = kron(A,B) 可以为 Kronecker 积(kron)提供一个方便的中缀语法 A ⊗ B,那么配合点语法 [A,B] .⊗ [C,D] 就等价于 [A⊗C, B⊗D]。 将点运算符用于数值字面量可能会导致歧义。例如,1.+x 到底是表示 1. + x 还是 1 .+ x?这会令人 疑惑。因此不允许使用这种语法,遇到这种情况时,必须明确地用空格消除歧义。0 码力 | 1238 页 | 4.59 MB | 1 年前3
Julia v1.2.0 Documentation|__/ | julia> 1 + 2 3 julia> ans 3 To exit the interac�ve session, type CTRL-D (press the Control/^ key together with the d key), or type exit(). When run in interac�ve mode, julia displays a banner and online. • For a brief but lucid presenta�on of how floa�ng-point numbers are represented, see John D. Cook's ar�cle on the subject as well as his introduc�on to some of the issues arising from how this B) = kron(A,B) to give a convenient infix syntax A B for Kronecker products (kron), then [A,B] . [C,D] will compute [AC, BD] with no addi�onal coding. Combining dot operators with numeric literals can0 码力 | 1250 页 | 4.29 MB | 1 年前3
Julia 1.2.0 DEV Documentation|__/ | julia> 1 + 2 3 julia> ans 3 To exit the interac�ve session, type CTRL-D (press the Control/^ key together with the d key), or type exit(). When run in interac�ve mode, julia displays a banner and online. • For a brief but lucid presenta�on of how floa�ng-point numbers are represented, see John D. Cook's ar�cle on the subject as well as his introduc�on to some of the issues arising from how this B) = kron(A,B) to give a convenient infix syntax A B for Kronecker products (kron), then [A,B] . [C,D] will compute [AC, BD] with no addi�onal coding. Combining dot operators with numeric literals can0 码力 | 1252 页 | 4.28 MB | 1 年前3
Julia v1.1.1 Documentation|__/ | julia> 1 + 2 3 julia> ans 3 To exit the interac�ve session, type CTRL-D (press the Control/^ key together with the d key), or type exit(). When run in interac�ve mode, julia displays a banner and online. • For a brief but lucid presenta�on of how floa�ng-point numbers are represented, see John D. Cook's ar�cle on the subject as well as his introduc�on to some of the issues arising from how this B) = kron(A,B) to give a convenient infix syntax A B for Kronecker products (kron), then [A,B] . [C,D] will compute [AC, BD] with no addi�onal coding. Combining dot operators with numeric literals can0 码力 | 1216 页 | 4.21 MB | 1 年前3
Julia 1.1.0 Documentation|__/ | julia> 1 + 2 3 julia> ans 3 To exit the interac�ve session, type CTRL-D (press the Control/^ key together with the d key), or type exit(). When run in interac�ve mode, julia displays a banner and online. • For a brief but lucid presenta�on of how floa�ng-point numbers are represented, see John D. Cook's ar�cle on the subject as well as his introduc�on to some of the issues arising from how this B) = kron(A,B) to give a convenient infix syntax A B for Kronecker products (kron), then [A,B] . [C,D] will compute [AC, BD] with no addi�onal coding. Combining dot operators with numeric literals can0 码力 | 1214 页 | 4.21 MB | 1 年前3
Julia 1.7.0 DEV Documentation|\__'_|_|_|\__'_| | Commit 55d7571a5d* (0 days old master) |__/ | julia> 1 + 2 3 julia> ans 3 To exit the interactive session, type CTRL-D (press the Control/^ key together with the d key), or type exit() online. • For a brief but lucid presentation of how floating-point numbers are represented, see John D. Cook's article on the subject as well as his introduction to some of the issues arising from how this to give a convenient infix syntax A ⊗ B for Kronecker products (kron), then [A,B] .⊗ [C,D] will compute [A⊗C, B⊗D] with no additional coding. Combining dot operators with numeric literals can be ambiguous0 码力 | 1399 页 | 4.59 MB | 1 年前3
Julia 1.6.2 Documentation| julia> 1 + 2 3 julia> ans 3 To exit the interactive session, type CTRL-D (press the Control/^ key together with the d key), or type exit(). When run in interactive mode, julia displays a banner online. • For a brief but lucid presentation of how floating-point numbers are represented, see John D. Cook's article on the subject as well as his introduction to some of the issues arising from how this to give a convenient infix syntax A ⊗ B for Kronecker products (kron), then [A,B] .⊗ [C,D] will compute [A⊗C, B⊗D] with no additional coding. Combining dot operators with numeric literals can be ambiguous0 码力 | 1324 页 | 4.54 MB | 1 年前3
Julia v1.6.6 Documentation| julia> 1 + 2 3 julia> ans 3 To exit the interactive session, type CTRL-D (press the Control/^ key together with the d key), or type exit(). When run in interactive mode, julia displays a banner online. • For a brief but lucid presentation of how floating-point numbers are represented, see John D. Cook's article on the subject as well as his introduction to some of the issues arising from how this to give a convenient infix syntax A ⊗ B for Kronecker products (kron), then [A,B] .⊗ [C,D] will compute [A⊗C, B⊗D] with no additional coding. Combining dot operators with numeric literals can be ambiguous0 码力 | 1324 页 | 4.54 MB | 1 年前3
Julia 1.6.5 Documentation| julia> 1 + 2 3 julia> ans 3 To exit the interactive session, type CTRL-D (press the Control/^ key together with the d key), or type exit(). When run in interactive mode, julia displays a banner online. • For a brief but lucid presentation of how floating-point numbers are represented, see John D. Cook's article on the subject as well as his introduction to some of the issues arising from how this to give a convenient infix syntax A ⊗ B for Kronecker products (kron), then [A,B] .⊗ [C,D] will compute [A⊗C, B⊗D] with no additional coding. Combining dot operators with numeric literals can be ambiguous0 码力 | 1325 页 | 4.54 MB | 1 年前3
Julia 1.6.7 Documentation| julia> 1 + 2 3 julia> ans 3 To exit the interactive session, type CTRL-D (press the Control/^ key together with the d key), or type exit(). When run in interactive mode, julia displays a banner online. • For a brief but lucid presentation of how floating-point numbers are represented, see John D. Cook's article on the subject as well as his introduction to some of the issues arising from how this to give a convenient infix syntax A ⊗ B for Kronecker products (kron), then [A,B] .⊗ [C,D] will compute [A⊗C, B⊗D] with no additional coding. Combining dot operators with numeric literals can be ambiguous0 码力 | 1324 页 | 4.54 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













