public class StringDataset extends StringDatasetBase
data
base, BLOCK_CLOSE, BLOCK_OPEN, odata, offset, size, stride, stringFormat
catchExceptions, logger, metadata, name, shape
ARRAYFLOAT32, ARRAYFLOAT64, ARRAYINT16, ARRAYINT32, ARRAYINT64, ARRAYINT8, ARRAYMUL, BOOL, COMPLEX, COMPLEX128, COMPLEX64, DATE, FLOAT, FLOAT32, FLOAT64, INT, INT16, INT32, INT64, INT8, OBJECT, RGB, STRING
Modifier and Type | Method and Description |
---|---|
StringDataset |
clone()
Clone dataset
|
boolean |
containsInfs() |
boolean |
containsNans() |
boolean |
getBoolean()
Get first item as a boolean.
|
boolean |
getBoolean(int... pos) |
boolean |
getBoolean(int i)
Get an item from given position as a boolean.
|
boolean |
getBoolean(int i,
int j)
Get an item from given position as a boolean.
|
byte |
getByte()
Get first item as a byte.
|
byte |
getByte(int... pos) |
byte |
getByte(int i)
Get an item from given position as a byte.
|
byte |
getByte(int i,
int j)
Get an item from given positionj as a byte.
|
double |
getDouble()
Get first item as a double.
|
double |
getDouble(int... pos) |
double |
getDouble(int i)
Get an item from given position as a double.
|
double |
getDouble(int i,
int j)
Get an item from given position as a double.
|
boolean |
getElementBooleanAbs(int index)
Get an element from given absolute index as a boolean.
|
double |
getElementDoubleAbs(int index)
Get an element from given absolute index as a double.
|
long |
getElementLongAbs(int index)
Get an element from given absolute index as a long.
|
float |
getFloat()
Get first item as a float.
|
float |
getFloat(int... pos) |
float |
getFloat(int i)
Get an item from given position as a float.
|
float |
getFloat(int i,
int j)
Get an item from given position as a float.
|
int |
getInt(int... pos) |
int |
getInt(int i)
Get an item from given position as an int.
|
int |
getInt(int i,
int j)
Get an item from given position as an int.
|
long |
getLong()
Get first item as a long.
|
long |
getLong(int... pos) |
long |
getLong(int i)
Get an item from given position as a long.
|
long |
getLong(int i,
int j)
Get an item from given position as a long.
|
short |
getShort()
Get first item as a short.
|
short |
getShort(int... pos) |
short |
getShort(int i)
Get an item from given position as a short.
|
short |
getShort(int i,
int j)
Get an item from given position as a short.
|
StringDataset |
getSlice(SliceIterator siter)
Get a slice of the dataset.
|
String |
getStringAbs(int index)
Get an item from given absolute index as a string.
|
StringDataset |
getView(boolean deepCopyMetadata) |
StringDataset |
iadd(Object o)
In-place addition with object o
|
StringDataset |
idivide(Object o)
In-place division with object o
|
StringDataset |
ifloor()
In-place floor
|
StringDataset |
imultiply(Object o)
In-place multiplication with object o
|
StringDataset |
ipower(Object o)
In-place raise to power of object o
|
StringDataset |
iremainder(Object o)
In-place remainder
|
StringDataset |
isubtract(Object o)
In-place subtraction with object o
|
double |
residual(Object o)
Calculate residual of dataset with object o
See
Dataset.residual(Object o, boolean ignoreNaNs) with ignoreNaNs = false |
containsInvalidNumbers, copyItemsFromAxes, createArray, equals, fill, fillDataset, get, get, get, get, getAbs, getBufferLength, getData, getDType, getInt, getObject, getObject, getObject, getObject, getObjectAbs, getString, getString, getString, getString, getUniqueItems, hashCode, maxPos, minPos, residual, resize, set, set, set, set, setAbs, setBy1DIndex, setByBoolean, setByIndexes, setData, setItem, setItem, setItem, setItem, setItemDirect, setItemsOnAxes, setObjectAbs, setSlice, sort
all, all, any, any, argMax, argMax, argMin, argMin, calcSteps, cast, cast, cast, checkAxis, checkAxis, checkCompatibility, copy, copy, copyToView, count, count, createStrides, createStrides, createStrides, createStrides, fillData, flatten, get1DIndex, get1DIndex, get1DIndex, get1DIndexFromShape, get1DIndexFromShape, getBooleanIterator, getBooleanIterator, getBroadcastView, getBuffer, getBy1DIndex, getByBoolean, getByIndexes, getElementClass, getElementsPerItem, getError, getError, getError, getError, getErrorArray, getErrorArray, getErrorArray, getErrorBuffer, getErrors, getFirst1DIndex, getIndices, getInternalSquaredError, getItemBytes, getIterator, getIterator, getMaxLineLength, getMetadataMap, getName, getNbytes, getNDPosition, getOffset, getPositionIterator, getRank, getRealPart, getRealView, getShape, getShapeRef, getSize, getSlice, getSlice, getSlice, getSlice, getSlice, getSlice, getSliceIterator, getSliceIterator, getSliceIteratorFromAxes, getSliceView, getSliceView, getSliceView, getStats, getStrides, getStringStats, getTransposedView, hasFloatingPointElements, ifloorDivide, isCompatibleWith, isComplex, max, max, mean, mean, min, min, overrideInternal, peakToPeak, peakToPeak, product, product, reshape, residual, rootMeanSquare, rootMeanSquare, setErrorBuffer, setMaxLineLength, setName, setShape, setSlice, setSlice, setSlice, setStringFormat, squeeze, squeeze, squeezeEnds, stdDeviation, stdDeviation, stdDeviation, stdDeviation, sum, sum, swapAxes, synchronizedCopy, toString, toString, transpose, variance, variance, variance, variance
addMetadata, checkPermutatedAxes, clearMetadata, copyMetadata, copyMetadata, createFromSerializable, dirtyMetadata, findMetadataTypeSubInterfaces, getErrorMetadata, getFirstMetadata, getMetadata, getMetadata, hasErrors, reshapeMetadata, restoreMetadata, setDirty, setErrors, setMetadata, sliceMetadata, transposeMetadata
finalize, getClass, notify, notifyAll, wait, wait, wait
getMetadata
addMetadata, clearMetadata, hasErrors, setErrors, setMetadata
getFirstMetadata, getMetadata
public StringDataset getView(boolean deepCopyMetadata)
getView
in interface Dataset
getView
in class StringDatasetBase
deepCopyMetadata
- if true then deep-copy metadatapublic StringDataset clone()
ILazyDataset
clone
in interface Dataset
clone
in interface IDataset
clone
in interface ILazyDataset
clone
in class StringDatasetBase
public StringDataset getSlice(SliceIterator siter)
AbstractDataset
getSlice
in class StringDatasetBase
siter
- Slice iteratorpublic boolean getElementBooleanAbs(int index)
Dataset
getElementBooleanAbs
in interface Dataset
getElementBooleanAbs
in class StringDatasetBase
public double getElementDoubleAbs(int index)
Dataset
getElementDoubleAbs
in interface Dataset
getElementDoubleAbs
in class StringDatasetBase
public long getElementLongAbs(int index)
Dataset
getElementLongAbs
in interface Dataset
getElementLongAbs
in class StringDatasetBase
public double getDouble()
Dataset
getDouble
in interface Dataset
getDouble
in class StringDatasetBase
public double getDouble(int i)
Dataset
getDouble
in interface Dataset
getDouble
in class StringDatasetBase
public double getDouble(int i, int j)
Dataset
getDouble
in interface Dataset
getDouble
in class StringDatasetBase
public double getDouble(int... pos)
getDouble
in interface IDataset
getDouble
in class StringDatasetBase
public float getFloat()
Dataset
getFloat
in interface Dataset
getFloat
in class StringDatasetBase
public float getFloat(int i)
Dataset
getFloat
in interface Dataset
getFloat
in class StringDatasetBase
public float getFloat(int i, int j)
Dataset
getFloat
in interface Dataset
getFloat
in class StringDatasetBase
public float getFloat(int... pos)
getFloat
in interface IDataset
getFloat
in class StringDatasetBase
public long getLong()
Dataset
getLong
in interface Dataset
getLong
in class StringDatasetBase
public long getLong(int i)
Dataset
getLong
in interface Dataset
getLong
in class StringDatasetBase
public long getLong(int i, int j)
Dataset
getLong
in interface Dataset
getLong
in class StringDatasetBase
public long getLong(int... pos)
getLong
in interface IDataset
getLong
in class StringDatasetBase
public int getInt(int i)
Dataset
getInt
in interface Dataset
getInt
in class StringDatasetBase
public int getInt(int i, int j)
Dataset
getInt
in interface Dataset
getInt
in class StringDatasetBase
public int getInt(int... pos)
getInt
in interface IDataset
getInt
in class StringDatasetBase
public short getShort()
Dataset
getShort
in interface Dataset
getShort
in class StringDatasetBase
public short getShort(int i)
Dataset
getShort
in interface Dataset
getShort
in class StringDatasetBase
public short getShort(int i, int j)
Dataset
getShort
in interface Dataset
getShort
in class StringDatasetBase
public short getShort(int... pos)
getShort
in interface IDataset
getShort
in class StringDatasetBase
public byte getByte()
Dataset
getByte
in interface Dataset
getByte
in class StringDatasetBase
public byte getByte(int i)
Dataset
getByte
in interface Dataset
getByte
in class StringDatasetBase
public byte getByte(int i, int j)
Dataset
getByte
in interface Dataset
getByte
in class StringDatasetBase
public byte getByte(int... pos)
getByte
in interface IDataset
getByte
in class StringDatasetBase
public boolean getBoolean()
Dataset
getBoolean
in interface Dataset
getBoolean
in class StringDatasetBase
public boolean getBoolean(int i)
Dataset
getBoolean
in interface Dataset
getBoolean
in class StringDatasetBase
public boolean getBoolean(int i, int j)
Dataset
getBoolean
in interface Dataset
getBoolean
in class StringDatasetBase
public boolean getBoolean(int... pos)
getBoolean
in interface IDataset
getBoolean
in class StringDatasetBase
public String getStringAbs(int index)
Dataset
getStringAbs
in interface Dataset
getStringAbs
in class StringDatasetBase
public boolean containsInfs()
containsInfs
in interface Dataset
containsInfs
in class StringDatasetBase
public boolean containsNans()
containsNans
in interface Dataset
containsNans
in class StringDatasetBase
public StringDataset iadd(Object o)
Dataset
iadd
in interface Dataset
iadd
in class StringDatasetBase
public StringDataset isubtract(Object o)
Dataset
isubtract
in interface Dataset
isubtract
in class StringDatasetBase
public StringDataset imultiply(Object o)
Dataset
imultiply
in interface Dataset
imultiply
in class StringDatasetBase
public StringDataset idivide(Object o)
Dataset
idivide
in interface Dataset
idivide
in class StringDatasetBase
public StringDataset iremainder(Object o)
Dataset
iremainder
in interface Dataset
iremainder
in class StringDatasetBase
public StringDataset ifloor()
Dataset
ifloor
in interface Dataset
ifloor
in class StringDatasetBase
public StringDataset ipower(Object o)
Dataset
ipower
in interface Dataset
ipower
in class StringDatasetBase
public double residual(Object o)
Dataset
Dataset.residual(Object o, boolean ignoreNaNs)
with ignoreNaNs = falseresidual
in interface Dataset
residual
in class AbstractDataset
Copyright © 2014–2018 Eclipse Foundation. All rights reserved.