Add a section
5.15 Vector
The terms "vector", "row-vector" and "column-vector" denote a special form of array (4.10) or inline array (5.13).
A "row-vector" is an array with one row. A "row-vector" is of type Array.
A "column-vector" is an array with one column. A "column-vector" is of type Array.
A "vector" is a "row-vector" or a "column-vector".
3.3 Non-Scalar Evaluation
change:
Note 1 from
=ABS({-3;-4}) => ABS(-3) // row vector
=ABS({-3|-4}) => ABS(-3) // column vector
=ABS({-3;-4|-6;-8}) => ABS(-3) // matrix
={1;2;3|4;5;6} => 1 // simple display
to
=ABS({-3;-4}) => ABS(-3) // row-vector
=ABS({-3|-4}) => ABS(-3) // column-vector
=ABS({-3;-4|-6;-8}) => ABS(-3) // array with 2 rows and 2 columns
={1;2;3|4;5;6} => 1 // simple display
1.2.1 from
If the target reference is a row-vector (Nx1),
to
If the target reference is a row-vector (5.15),
1.2.2 from
If the target reference is a column-vector (1xM)
to
If the target reference is a column-vector (5.15)
2.1.2 from
If the non-scalar result is 1 column wide, subsequent columns in the display area display the value in the first column. This applies to
- scalars '3'
- singletons '{3}'
- column vectors '{1|2|3}'
to
If the non-scalar result is a column-vector, subsequent columns in the display area display the value in the first column. This applies to
- scalars '3'
- singletons '{3}'
- column-vectors '{1|2|3}'
2.1.3 from
If the non-scalar result is 1 row high, subsequent rows in the display area use the value of the first row. This applies to
- scalars '3'
- singletons '{3}'
- row vectors '{1;2;3}'
to
If the non-scalar result is a row-vector, subsequent rows in the display area use the value of the first row. This applies to
- scalars '3'
- singletons '{3}'
- row-vectors '{1;2;3}'
ToDo: In Note 5 and Note 6 the term "matrix" should be replaced by "'Matrix'". The term "matrix" is not defined. But the term "'Matrix'" is defined in this section by referring to Part 3, 19.683.
In 6.14.6 INDEX
change
from
If DataSource is a one-dimensional column vector,
to
If DataSource is a colulmn-vector (5.15),
from
If DataSource is a one-dimensional row vector,
to
If DataSource is a row-vector (5.15).
ToDo:
In 6.14.8 LOOKUP
The description is a nightmare and needs an issue of its own.
In 6.14.9. MATCH
change from
SearchRegion shall be a vector (a single row or column)
to
SearchRegion shall be a vector (5.15).
In 6.18.29 FREQUENCY
change from
and Bins shall be a column vector.
to
and Bins shall be a column-vector (5.15).
from
The returned array is a column vector and has one more element than Bins ;
to
The returned array is a column-vector and has one more element than Bins ;