You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that in some cases it can be more convenient to use generators directly
julia>for t in ((x,y) for x in1:3, y in1:3) print(t, "") end
(1, 1) (2, 1) (3, 1) (1, 2) (2, 2) (3, 2) (1, 3) (2, 3) (3, 3)
julia> [(x,y) for x in1:3, y in1:3]
3×3 Matrix{Tuple{Int64, Int64}}:
(1, 1) (1, 2) (1, 3)
(2, 1) (2, 2) (2, 3)
(3, 1) (3, 2) (3, 3)
julia>for o in (10x+y for x in1:2, y in4:5) print(o, "") end14241525
julia> [10x+y for x in1:2, y in4:5]
2×2 Matrix{Int64}:14152425
Hi! I"d like to reproduce next Mathematica functions on Julia:
Tuples and
Outer
Is it possible with your package, or may be I can add to it?
The text was updated successfully, but these errors were encountered: