Logo

Programming-Idioms

History of Idiom 26 > diff from v86 to v87

Edit summary for version 87 by Patrick R:
New Smalltalk implementation by user [Patrick R]

Version 86

2021-08-16, 19:56:52

Version 87

2021-09-03, 14:13:01

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
Doc URL
https://squeak.org/documentation/terse_guide/