DataSeries/numelems
return the number of elements in a DataSeries
DataSeries/lowerbound
return the index of the first element in a DataSeries
DataSeries/upperbound
return the index of the last element in a DataSeries
Calling Sequence
Parameters
Description
Examples
Compatibility
numelems( ds )
lowerbound( ds )
upperbound( ds )
ds
-
a DataSeries object
The numelems( ds ) command returns the number of elements in the DataSeries ds.
The lowerbound( ds ) command returns the index, which is always equal to 1, of the first element of the DataSeries ds.
The upperbound( ds ) command returns the index of the last element of the DataSeries ds.
Note that, for a DataSeries ds, numelems( ds ) is equal to upperbound( ds ).
ds≔DataSeries⁡sin⁡x,cos⁡x,tan⁡x
ds≔1sin⁡x2cos⁡x3tan⁡x
numelems⁡ds
3
lowerbound⁡ds
1
upperbound⁡ds
ds≔DataSeries⁡
ds≔
0
The DataSeries/numelems, DataSeries/lowerbound and DataSeries/upperbound commands were introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
DataSeries
Download Help Document