Logo

Programming-Idioms

History of Idiom 26 > diff from v87 to v88

Edit summary for version 88 by programming-idioms.org:
[Smalltalk] Please link to a doc page specific to this implementation

Version 87

2021-09-03, 14:13:01

Version 88

2021-09-06, 08:17:33

Idiom #26 Create a 2-dimensional array

Declare and initialize a matrix x having m rows and n columns, containing real numbers.

Idiom #26 Create a 2-dimensional array

Declare and initialize a matrix x having m rows and n columns, containing real numbers.

Variables
x,m,n
Variables
x,m,n
Extra Keywords
2d
Extra Keywords
2d
Code
x := Matrix	
    rows: m
    columns: n
    element: 1.0
Code
x := Matrix	
    rows: m
    columns: n
    element: 1.0
Doc URL
https://squeak.org/documentation/terse_guide/