upperbound
array upper bound
lowerbound
array lower bound
Calling Sequence
Parameters
Description
Thread Safety
Examples
Compatibility
lowerbound(a, dim)
lowerbound(a)
upperbound(a, dim)
upperbound(a)
a
-
rtable, array, list, set, string or object
dim
posint
The lowerbound and upperbound commands return the lower or upper bounds of the specified dimension, dim, of the array or rtable, a.
The lowerbound of a list is always 1. The upperbound of a list is the same as numelems('a'). A list-of-lists or other recursive list structure is considered a one-dimensional object.
If a is an object that implements the lowerbound or upperbound methods, then lowerbound( a ) and upperbound( a ) (or lowerbound( a, dim ) and upperbound( a, dim )) depend on how the object a defines these numbers.
If dim is not specified, all lower or upper bounds are returned as a sequence.
To obtain a lower or upper bound on the data contained in the object a, use the min or max commands, respectively.
The following objects have an upperbound method:
"DataFrame" objects
"DataSeries" objects
The upperbound and lowerbound commands are thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe .
M≔1|2|3,4|5|6
M≔123456
m,n≔upperbound⁡M
m,n≔2,3
upperbound⁡M,1
2
upperbound⁡M,2
3
lowerbound⁡M,1
1
upperbound⁡1,2,3
upperbound⁡1,2,3,4,5,6
The upperbound and lowerbound commands were introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15 .
See Also
ArrayDims
ArrayNumDims
min
numelems
op
Download Help Document
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル