DataSeries/GetData
get the plain data Array in a DataSeries
Calling Sequence
Parameters
Description
Examples
Compatibility
GetData(ds, c)
ds
-
a DataSeries object
c
(optional) equation of the form copy = true or false
The GetData command returns the Array from a DataSeries object that contains the actual data.
By default, GetData returns the data Array itself: if you modify the values in the returned Array, then the values in the DataSeries object will change. If you use the copy = true option, GetData returns a copy of this Array. You can shorten this option to just copy instead of copy = true. The default is copy = false.
ds≔DataSeries⁡1,2,3,4,labels=A,B,C,D
ds≔A1B2C3D4
a≔GetData⁡ds
a≔1234
Modifying a will modify the data in ds.
a2≔−2
A1B−2C3D4
b≔GetData⁡ds,copy
b≔1−234
Modifying b will not modify the data in ds.
b3≔−3
The DataSeries/GetData command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
DataSeries
DataSeries/Constructor
Download Help Document