Lower Bound - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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

Calling Sequence

numelems( ds )

lowerbound( ds )

upperbound( ds )

Parameters

ds

-

a DataSeries object

Description

• 

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 ).

Examples

dsDataSeriessinx,cosx,tanx

ds1sinx2cosx3tanx

(1)

numelemsds

3

(2)

lowerboundds

1

(3)

upperboundds

3

(4)

dsDataSeries

ds

(5)

numelemsds

0

(6)

lowerboundds

1

(7)

upperboundds

0

(8)

Compatibility

• 

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