How to save an NxNxN array (or Matrix) into a file in Julia (or Python)? -


i'm working on jupyter notebook , using julia

i'm trying save 3x3x3 array textfile when include in notebook, array 3x3x3 array too.

any suggestions? in advance.

you use jld.jl (julia data) package:

pkg.add("jld") using jld r = rand(3, 3, 3) save("data.jld", "data", r) load("data.jld")["data"] 

the advantage of jld package preserves exact type information of each variable.


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -