labels

Deprecated: use labelsDataset labels( String[] labels ) → QDataSet

labelsDataset

labelsDataset( String[] labels, String context ) → QDataSet

create a labels dataset for tagging rows of a dataset. If the context has been used already, including "default", then the EnumerationUnit for the data will be preserved. labelsDataset(['red','green','blue'],'default') will always return an equivalent (and comparable) result during a session. Example: dep1= labelsDataset( ['X','Y','Z'], 'GSM' )

Parameters

labels - array of string labels
context - the namespace for the labels, to provide control over String→int mapping.

Returns:

rank 1 QDataSet

[search for examples] [view on GitHub] [view on old javadoc] [view source]

labelsDataset( String[] labels ) → QDataSet
labelsDataset( String label ) → QDataSet
labelsDataset( String label, String context ) → QDataSet

le

le( QDataSet ds1, QDataSet ds2 ) → QDataSet

element-wise function returns 1 where ds1<=ds2.

Parameters

ds1 - a QDataSet
ds2 - a QDataSet

Returns:

a QDataSet

[search for examples] [view on GitHub] [view on old javadoc] [view source]

le( Object ds1, Object ds2 ) → QDataSet

lesserOf

lesserOf( QDataSet ds1, QDataSet ds2 ) → QDataSet

element-wise function returns the smaller of ds1 and ds2. If an element of ds1 or ds2 is fill, then the result is fill.

Parameters

ds1 - a QDataSet
ds2 - a QDataSet

Returns:

the smaller of the two, in the units of ds1.

[search for examples] [view on GitHub] [view on old javadoc] [view source]

lesserOf( Object ds1, Object ds2 ) → QDataSet

link

link( QDataSet x, QDataSet y ) → QDataSet

link is the fundamental operator where we declare that one dataset is dependent on another. For example link(x,y) creates a new dataset where y is the dependent variable of the independent variable x. link is like the plot command, but doesn't plot. For example

plot(X,Y) shows a plot of Y(X),
link(X,Y) returns the dataset Y(X).

Parameters

x - rank 1 dataset
y - rank 1 or rank 2 bundle dataset

Returns:

rank 1 dataset with DEPEND_0 set to x.

[search for examples] [view on GitHub] [view on old javadoc] [view source]

link( QDataSet x, QDataSet y, QDataSet z ) → QDataSet
link( QDataSet d0, QDataSet d1, QDataSet d2, QDataSet z ) → QDataSet
link( QDataSet d0, QDataSet d1, QDataSet d2, QDataSet d3, QDataSet z ) → QDataSet
link( Object x, Object y ) → QDataSet
link( Object x, Object y, Object z ) → QDataSet
link( Object d0, Object d1, Object d2, Object z ) → QDataSet

linspace

linspace( double min, double max, int len0 ) → QDataSet

return a rank 1 dataset with len0 linearly-spaced values, the first is min and the last is max.

Parameters

min - double
max - double
len0 - number of elements in the result

Returns:

rank 1 dataset of linearly spaced data.

[search for examples] [view on GitHub] [view on old javadoc] [view source]

linspace( Object omin, Object omax, int len0 ) → QDataSet

log

log( QDataSet ds ) → QDataSet

element-wise natural logarithm.

Parameters

ds - a QDataSet

Returns:

a QDataSet

[search for examples] [view on GitHub] [view on old javadoc] [view source]

log( double ds1 ) → double
log( Object ds1 ) → QDataSet

log10

log10( QDataSet ds ) → QDataSet

element-wise base 10 logarithm.

Parameters

ds - a QDataSet

Returns:

a QDataSet

[search for examples] [view on GitHub] [view on old javadoc] [view source]

log10( double ds1 ) → double
log10( Object ds1 ) → QDataSet

logspace

logspace( double min, double max, int len0 ) → QDataSet

return a rank 1 dataset with len0 logarithmically-spaced values, the first is min and the last is max.

Parameters

min - double
max - double
len0 - number of elements in the result

Returns:

rank 1 dataset of logarithmically spaced data.

[search for examples] [view on GitHub] [view on old javadoc] [view source]

logspace( Object omin, Object omax, int len0 ) → QDataSet

lonarr

lonarr( int len0 ) → QDataSet

create a dataset filled with zeros, stored in 8-byte longs, suitable for storing cdf_tt2000 times..

Parameters

len0 - the zeroth dimension length

Returns:

rank 1 dataset filled with zeros.

See Also:

zeros(int)
dblarr(int)


[search for examples] [view on GitHub] [view on old javadoc] [view source]

lonarr( int len0, int len1 ) → QDataSet

lt

lt( QDataSet ds1, QDataSet ds2 ) → QDataSet

element-wise function returns 1 where ds1<ds2.

Parameters

ds1 - a QDataSet
ds2 - a QDataSet

Returns:

a QDataSet

[search for examples] [view on GitHub] [view on old javadoc] [view source]

lt( Object ds1, Object ds2 ) → QDataSet