Multiple regression: Difference between revisions
→{{header|ALGOL 68}}: Fixed Trans
(Added Algol 68 translation of Visual Basic.NET) |
(→{{header|ALGOL 68}}: Fixed Trans) |
||
Line 360:
=={{header|ALGOL 68}}==
{{Trans|
<br>The main differences are that Algol 68 generally uses a lower bound of 1 rather than 0 for arrays.
<br>Also, although <code>( ( 1, 2, 3 ), ( 6, 5, 4 ) )</code> is a 2x3 array, <code>( ( 1, 2, 3 ) )</code> is a 3x1 array (because <code>( x )</code> is not an array, so the outer brackets are superfluous, leaving <code>( 1, 2, 3 )</code> - i.e. a 1-dimensoional array - as the context requires a two-dimensional array, each value is coerced to an array resulting in a 3x1 two-dimensional array).
|