@@ -61,49 +61,41 @@ msgid ""
61
61
"array in terms of another array. Consider the following:"
62
62
msgstr ""
63
63
64
- #: ../../source/behavior/arrays/declarations.rst:54
65
- msgid ""
66
- "In this case, ``y`` will have one dimension of size 5. The use of the "
67
- "function ``size(x,1)`` will return the size of dimension 1 of the array "
68
- "``x``. There are many applications where it is useful to express that the "
69
- "dimensions of different are related in this way."
70
- msgstr ""
71
-
72
- #: ../../source/behavior/arrays/declarations.rst:62
64
+ #: ../../source/behavior/arrays/declarations.rst:64
73
65
msgid "Unspecified Dimensions"
74
66
msgstr ""
75
67
76
- #: ../../source/behavior/arrays/declarations.rst:64
68
+ #: ../../source/behavior/arrays/declarations.rst:66
77
69
msgid ""
78
70
"There are some circumstances where we can leave the size of an array "
79
71
"unspecified so that it can be specified by some later context. For example,"
80
72
" we will see examples of this later when we discuss :ref:`functions` that "
81
73
"have arguments which are arrays."
82
74
msgstr ""
83
75
84
- #: ../../source/behavior/arrays/declarations.rst:69
76
+ #: ../../source/behavior/arrays/declarations.rst:71
85
77
msgid ""
86
78
"To indicate that the size of a given array dimension is not (yet) known, we "
87
79
"can use the `:` symbol as the dimension. So in a declaration like this:"
88
80
msgstr ""
89
81
90
- #: ../../source/behavior/arrays/declarations.rst:77
82
+ #: ../../source/behavior/arrays/declarations.rst:79
91
83
msgid ""
92
84
"we are declaring an array with two dimensions. The size of the first "
93
85
"dimension is not specified. However, the size of the second dimension is "
94
86
"definitively specified as 2. In effect, we have declared that ``A`` is a "
95
87
"matrix with an unspecified number of rows and two columns."
96
88
msgstr ""
97
89
98
- #: ../../source/behavior/arrays/declarations.rst:83
90
+ #: ../../source/behavior/arrays/declarations.rst:85
99
91
msgid "Non-Integer Dimensions"
100
92
msgstr ""
101
93
102
- #: ../../source/behavior/arrays/declarations.rst:88
94
+ #: ../../source/behavior/arrays/declarations.rst:90
103
95
msgid "Enumerations"
104
96
msgstr ""
105
97
106
- #: ../../source/behavior/arrays/declarations.rst:90
98
+ #: ../../source/behavior/arrays/declarations.rst:92
107
99
msgid ""
108
100
"As we saw in our :ref:`chemical-system` examples, another way to specify the"
109
101
" dimension for an array is with an enumeration. If an enumeration is used "
@@ -113,12 +105,29 @@ msgid ""
113
105
"array that uses enumerations as dimensions."
114
106
msgstr ""
115
107
116
- #: ../../source/behavior/arrays/declarations.rst:99
108
+ #: ../../source/behavior/arrays/declarations.rst:101
117
109
msgid "Booleans"
118
110
msgstr ""
119
111
120
- #: ../../source/behavior/arrays/declarations.rst:101
112
+ #: ../../source/behavior/arrays/declarations.rst:103
121
113
msgid ""
122
114
"It is also possible to declare an array where a dimension is specified as "
123
115
"``Boolean``, *e.g.,*"
124
116
msgstr ""
117
+
118
+ #: ../../source/behavior/arrays/declarations.rst:54
119
+ msgid ""
120
+ "In this case, ``y`` will have one dimension of size 5. The use of the "
121
+ "function ``size(x,1)`` will return the size of dimension 1 of the array "
122
+ "``x``. There are many applications where it is useful to express that the "
123
+ "dimensions of different arrays are related in this way (*e.g.*, ensuring "
124
+ "that arrays are sized such that operations like matrix multiplication are "
125
+ "possible)."
126
+ msgstr ""
127
+
128
+ #~ msgid ""
129
+ #~ "In this case, ``y`` will have one dimension of size 5. The use of the "
130
+ #~ "function ``size(x,1)`` will return the size of dimension 1 of the array "
131
+ #~ "``x``. There are many applications where it is useful to express that the "
132
+ #~ "dimensions of different are related in this way."
133
+ #~ msgstr ""
0 commit comments