Julia 1.11.4
small, simple expressions, they could easily be placed onto a single line, which is where the ; chain syntax comes in handy: 94CHAPTER 10. CONTROL FLOW 95 julia> z = (x = 1; y = 2; x + y) 3 This syntax and otherwise it evaluates to the string "not less than". The original three-way example requires chain- ing multiple uses of the ternary operator together: julia> test(x, y) = println(x < y ? "x is less of expressions are evaluated as are necessary to determine the final boolean value of the entire chain. Some languages (like Python) refer to them as and (&&) and or (||). Explicitly, this means that:0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.5 Documentation
small, simple expressions, they could easily be placed onto a single line, which is where the ; chain syntax comes in handy: 94CHAPTER 10. CONTROL FLOW 95 julia> z = (x = 1; y = 2; x + y) 3 This syntax and otherwise it evaluates to the string "not less than". The original three-way example requires chain- ing multiple uses of the ternary operator together: julia> test(x, y) = println(x < y ? "x is less of expressions are evaluated as are necessary to determine the final boolean value of the entire chain. Some languages (like Python) refer to them as and (&&) and or (||). Explicitly, this means that:0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.6 Release Notes
small, simple expressions, they could easily be placed onto a single line, which is where the ; chain syntax comes in handy: 94CHAPTER 10. CONTROL FLOW 95 julia> z = (x = 1; y = 2; x + y) 3 This syntax and otherwise it evaluates to the string "not less than". The original three-way example requires chain- ing multiple uses of the ternary operator together: julia> test(x, y) = println(x < y ? "x is less of expressions are evaluated as are necessary to determine the final boolean value of the entire chain. Some languages (like Python) refer to them as and (&&) and or (||). Explicitly, this means that:0 码力 | 2007 页 | 6.73 MB | 3 月前3julia 1.10.10
small, simple expressions, they could easily be placed onto a single line, which is where the ; chain syntax comes in handy: 89CHAPTER 9. CONTROL FLOW 90 julia> z = (x = 1; y = 2; x + y) 3 This syntax and otherwise it evaluates to the string "not less than". The original three-way example requires chain- ing multiple uses of the ternary operator together:CHAPTER 9. CONTROL FLOW 93 julia> test(x, y) of expressions are evaluated as are necessary to determine the final boolean value of the entire chain. Some languages (like Python) refer to them as and (&&) and or (||). Explicitly, this means that:0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.10.9
small, simple expressions, they could easily be placed onto a single line, which is where the ; chain syntax comes in handy: 89CHAPTER 9. CONTROL FLOW 90 julia> z = (x = 1; y = 2; x + y) 3 This syntax and otherwise it evaluates to the string "not less than". The original three-way example requires chain- ing multiple uses of the ternary operator together:CHAPTER 9. CONTROL FLOW 93 julia> test(x, y) of expressions are evaluated as are necessary to determine the final boolean value of the entire chain. Some languages (like Python) refer to them as and (&&) and or (||). Explicitly, this means that:0 码力 | 1692 页 | 6.34 MB | 3 月前3julia 1.13.0 DEV
small, simple expressions, they could easily be placed onto a single line, which is where the ; chain syntax comes in handy: 94CHAPTER 10. CONTROL FLOW 95 julia> z = (x = 1; y = 2; x + y) 3 This syntax and otherwise it evaluates to the string "not less than". The original three-way example requires chain- ing multiple uses of the ternary operator together: julia> test(x, y) = println(x < y ? "x is less of expressions are evaluated as are necessary to determine the final boolean value of the entire chain. Some languages (like Python) refer to them as and (&&) and or (||). Explicitly, this means that:0 码力 | 2058 页 | 7.45 MB | 3 月前3Julia 1.12.0 RC1
small, simple expressions, they could easily be placed onto a single line, which is where the ; chain syntax comes in handy: 94CHAPTER 10. CONTROL FLOW 95 julia> z = (x = 1; y = 2; x + y) 3 This syntax and otherwise it evaluates to the string "not less than". The original three-way example requires chain- ing multiple uses of the ternary operator together: julia> test(x, y) = println(x < y ? "x is less of expressions are evaluated as are necessary to determine the final boolean value of the entire chain. Some languages (like Python) refer to them as and (&&) and or (||). Explicitly, this means that:0 码力 | 2057 页 | 7.44 MB | 3 月前3Julia 1.12.0 Beta4
small, simple expressions, they could easily be placed onto a single line, which is where the ; chain syntax comes in handy: 94CHAPTER 10. CONTROL FLOW 95 julia> z = (x = 1; y = 2; x + y) 3 This syntax and otherwise it evaluates to the string "not less than". The original three-way example requires chain- ing multiple uses of the ternary operator together: julia> test(x, y) = println(x < y ? "x is less of expressions are evaluated as are necessary to determine the final boolean value of the entire chain. Some languages (like Python) refer to them as and (&&) and or (||). Explicitly, this means that:0 码力 | 2057 页 | 7.44 MB | 3 月前3Julia 1.12.0 Beta3
small, simple expressions, they could easily be placed onto a single line, which is where the ; chain syntax comes in handy: 94CHAPTER 10. CONTROL FLOW 95 julia> z = (x = 1; y = 2; x + y) 3 This syntax and otherwise it evaluates to the string "not less than". The original three-way example requires chain- ing multiple uses of the ternary operator together: julia> test(x, y) = println(x < y ? "x is less of expressions are evaluated as are necessary to determine the final boolean value of the entire chain. Some languages (like Python) refer to them as and (&&) and or (||). Explicitly, this means that:0 码力 | 2057 页 | 7.44 MB | 3 月前3julia 1.12.0 beta1
small, simple expressions, they could easily be placed onto a single line, which is where the ; chain syntax comes in handy: 94CHAPTER 10. CONTROL FLOW 95 julia> z = (x = 1; y = 2; x + y) 3 This syntax and otherwise it evaluates to the string "not less than". The original three-way example requires chain- ing multiple uses of the ternary operator together: julia> test(x, y) = println(x < y ? "x is less of expressions are evaluated as are necessary to determine the final boolean value of the entire chain. Some languages (like Python) refer to them as and (&&) and or (||). Explicitly, this means that:0 码力 | 2047 页 | 7.41 MB | 3 月前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9