Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
rows:=ask("Rows: ").toInt();
|
||||
cols:=ask("columns: ").toInt();
|
||||
array:=rows.pump(List.createLong(rows),List.createLong(cols,0).copy);
|
||||
array[1][2]=123;
|
||||
array.println();
|
||||
array[1][2].println();
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
var [const] GSL=Import("zklGSL"); // libGSL (GNU Scientific Library)
|
||||
rows:=ask("Rows: ").toInt();
|
||||
cols:=ask("columns: ").toInt();
|
||||
m:=GSL.Matrix(rows,cols);
|
||||
m[1,2]=123;
|
||||
m.format().println();
|
||||
println(m[1,2]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue