public class StringDataset extends StringDatasetBase
data
base, BLOCK_CLOSE, BLOCK_OPEN, odata, offset, size, stride, stringFormat
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, RGB8, 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
|
StringDataset |
idivide(Object o)
In-place division
|
StringDataset |
ifloor()
In-place floor
|
StringDataset |
imultiply(Object o)
In-place multiplication
|
StringDataset |
ipower(Object o)
In-place raise to power of argument
|
StringDataset |
iremainder(Object o)
In-place remainder of division
|
StringDataset |
isubtract(Object o)
In-place subtraction
|
double |
residual(Object o)
Calculate residual of dataset with object
See
Dataset.residual(Object o, boolean ignoreNaNs) with ignoreNaNs = false |
containsInvalidNumbers, copyItemsFromAxes, createArray, equals, fill, fillDataset, get, get, get, get, getAbs, getBufferLength, getData, 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, cast, checkAxis, checkAxis, checkCompatibility, copy, copy, copyToView, count, count, count, createStrides, createStrides, createStrides, createStrides, fillData, flatten, get1DIndex, get1DIndex, get1DIndex, get1DIndexFromShape, get1DIndexFromShape, getBooleanIterator, getBooleanIterator, getBroadcastView, getBuffer, getBy1DIndex, getByBoolean, getByIndexes, getDType, getElementClass, getElementsPerItem, getError, getError, getError, getError, getErrorArray, getErrorArray, getErrorArray, getErrorBuffer, getErrors, getFirst1DIndex, getIndices, getInternalSquaredError, getItemBytes, getIterator, getIterator, getMaxLineLength, 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, internalGetSliceIterator, isCompatibleWith, isComplex, max, max, max, mean, mean, mean, min, min, min, overrideInternal, peakToPeak, peakToPeak, peakToPeak, product, product, product, reshape, residual, rootMeanSquare, rootMeanSquare, rootMeanSquare, setErrorBuffer, setMaxLineLength, setShape, setSlice, setSlice, setSlice, setStringFormat, squeeze, squeeze, squeezeEnds, stdDeviation, stdDeviation, stdDeviation, stdDeviation, stdDeviation, stdDeviation, sum, sum, sum, swapAxes, synchronizedCopy, toString, toString, transpose, variance, variance, variance, variance, variance, variance
addMetadata, checkPermutatedAxes, checkSliceND, clearMetadata, copyMetadata, copyMetadata, createFromSerializable, dirtyMetadata, findMetadataTypeSubInterfaces, getErrorMetadata, getFirstMetadata, getMetadata, getMetadata, getMetadataMap, getName, hasErrors, reshapeMetadata, restoreMetadata, setDirty, setErrors, setMetadata, setName, 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
index
- in arraypublic double getElementDoubleAbs(int index)
Dataset
getElementDoubleAbs
in interface Dataset
getElementDoubleAbs
in class StringDatasetBase
index
- in arraypublic long getElementLongAbs(int index)
Dataset
getElementLongAbs
in interface Dataset
getElementLongAbs
in class StringDatasetBase
index
- in arraypublic 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
i
- position in first dimensionpublic double getDouble(int i, int j)
Dataset
getDouble
in interface Dataset
getDouble
in class StringDatasetBase
i
- position in first dimensionj
- position in second dimensionpublic double getDouble(int... pos)
getDouble
in interface IDataset
getDouble
in class StringDatasetBase
pos
- positionpublic 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
i
- position in first dimensionpublic float getFloat(int i, int j)
Dataset
getFloat
in interface Dataset
getFloat
in class StringDatasetBase
i
- position in first dimensionj
- position in second dimensionpublic float getFloat(int... pos)
getFloat
in interface IDataset
getFloat
in class StringDatasetBase
pos
- positionpublic 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
i
- position in first dimensionpublic long getLong(int i, int j)
Dataset
getLong
in interface Dataset
getLong
in class StringDatasetBase
i
- position in first dimensionj
- position in second dimensionpublic long getLong(int... pos)
getLong
in interface IDataset
getLong
in class StringDatasetBase
pos
- positionpublic int getInt(int i)
Dataset
getInt
in interface Dataset
getInt
in class StringDatasetBase
i
- position in first dimensionpublic int getInt(int i, int j)
Dataset
getInt
in interface Dataset
getInt
in class StringDatasetBase
i
- position in first dimensionj
- position in second dimensionpublic int getInt(int... pos)
getInt
in interface IDataset
getInt
in class StringDatasetBase
pos
- positionpublic 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
i
- position in first dimensionpublic short getShort(int i, int j)
Dataset
getShort
in interface Dataset
getShort
in class StringDatasetBase
i
- position in first dimensionj
- position in second dimensionpublic short getShort(int... pos)
getShort
in interface IDataset
getShort
in class StringDatasetBase
pos
- positionpublic 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
i
- position in first dimensionpublic byte getByte(int i, int j)
Dataset
getByte
in interface Dataset
getByte
in class StringDatasetBase
i
- position in first dimensionj
- position in second dimensionpublic byte getByte(int... pos)
getByte
in interface IDataset
getByte
in class StringDatasetBase
pos
- positionpublic 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
i
- position in first dimensionpublic boolean getBoolean(int i, int j)
Dataset
getBoolean
in interface Dataset
getBoolean
in class StringDatasetBase
i
- position in first dimensionj
- position in second dimensionpublic boolean getBoolean(int... pos)
getBoolean
in interface IDataset
getBoolean
in class StringDatasetBase
pos
- positionpublic String getStringAbs(int index)
Dataset
getStringAbs
in interface Dataset
getStringAbs
in class StringDatasetBase
index
- in arraypublic 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
o
- object to usepublic StringDataset isubtract(Object o)
Dataset
isubtract
in interface Dataset
isubtract
in class StringDatasetBase
o
- object to usepublic StringDataset imultiply(Object o)
Dataset
imultiply
in interface Dataset
imultiply
in class StringDatasetBase
o
- object to usepublic StringDataset idivide(Object o)
Dataset
idivide
in interface Dataset
idivide
in class StringDatasetBase
o
- object to usepublic StringDataset iremainder(Object o)
Dataset
iremainder
in interface Dataset
iremainder
in class StringDatasetBase
o
- object to usepublic 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
o
- object to usepublic double residual(Object o)
Dataset
Dataset.residual(Object o, boolean ignoreNaNs)
with ignoreNaNs = falseresidual
in interface Dataset
residual
in class AbstractDataset
o
- object to useCopyright © 2014–2022 Eclipse Foundation. All rights reserved.