public class ObjectDataset extends ObjectDatasetBase
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 |
---|---|
ObjectDataset |
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()
Get first item as an int.
|
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.
|
ObjectDataset |
getSlice(SliceIterator siter)
Get a slice of the dataset.
|
String |
getStringAbs(int index)
Get an item from given absolute index as a string.
|
ObjectDataset |
getView(boolean deepCopyMetadata) |
ObjectDataset |
iadd(Object o)
In-place addition with object o
|
ObjectDataset |
idivide(Object o)
In-place division with object o
|
ObjectDataset |
ifloor()
In-place floor
|
ObjectDataset |
imultiply(Object o)
In-place multiplication with object o
|
ObjectDataset |
ipower(Object o)
In-place raise to power of object o
|
ObjectDataset |
iremainder(Object o)
In-place remainder
|
ObjectDataset |
isubtract(Object o)
In-place subtraction with object o
|
int[] |
maxPos(boolean... ignoreInvalids) |
int[] |
minPos(boolean... ignoreInvalids) |
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, getObject, getObject, getObject, getObject, getObjectAbs, getString, getString, getString, getString, getUniqueItems, hashCode, 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, 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, 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, clearMetadata, copyMetadata, copyMetadata, createFromSerializable, dirtyMetadata, findMetadataTypeSubInterfaces, getElementClass, 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, getElementClass, hasErrors, setErrors, setMetadata
getFirstMetadata, getMetadata
public ObjectDataset getView(boolean deepCopyMetadata)
getView
in interface Dataset
getView
in class ObjectDatasetBase
deepCopyMetadata
- if true then deep-copy metadatapublic ObjectDataset clone()
ILazyDataset
clone
in interface Dataset
clone
in interface IDataset
clone
in interface ILazyDataset
clone
in class ObjectDatasetBase
public ObjectDataset getSlice(SliceIterator siter)
AbstractDataset
getSlice
in class ObjectDatasetBase
siter
- Slice iteratorpublic boolean getElementBooleanAbs(int index)
Dataset
getElementBooleanAbs
in interface Dataset
getElementBooleanAbs
in class ObjectDatasetBase
public double getElementDoubleAbs(int index)
Dataset
getElementDoubleAbs
in interface Dataset
getElementDoubleAbs
in class ObjectDatasetBase
public long getElementLongAbs(int index)
Dataset
getElementLongAbs
in interface Dataset
getElementLongAbs
in class ObjectDatasetBase
public double getDouble()
Dataset
getDouble
in interface Dataset
getDouble
in class ObjectDatasetBase
public double getDouble(int i)
Dataset
getDouble
in interface Dataset
getDouble
in class ObjectDatasetBase
public double getDouble(int i, int j)
Dataset
getDouble
in interface Dataset
getDouble
in class ObjectDatasetBase
public double getDouble(int... pos)
getDouble
in interface IDataset
getDouble
in class ObjectDatasetBase
public float getFloat()
Dataset
getFloat
in interface Dataset
getFloat
in class ObjectDatasetBase
public float getFloat(int i)
Dataset
getFloat
in interface Dataset
getFloat
in class ObjectDatasetBase
public float getFloat(int i, int j)
Dataset
getFloat
in interface Dataset
getFloat
in class ObjectDatasetBase
public float getFloat(int... pos)
getFloat
in interface IDataset
getFloat
in class ObjectDatasetBase
public long getLong()
Dataset
getLong
in interface Dataset
getLong
in class ObjectDatasetBase
public long getLong(int i)
Dataset
getLong
in interface Dataset
getLong
in class ObjectDatasetBase
public long getLong(int i, int j)
Dataset
getLong
in interface Dataset
getLong
in class ObjectDatasetBase
public long getLong(int... pos)
getLong
in interface IDataset
getLong
in class ObjectDatasetBase
public int getInt()
Dataset
getInt
in interface Dataset
getInt
in class ObjectDatasetBase
public int getInt(int i)
Dataset
getInt
in interface Dataset
getInt
in class ObjectDatasetBase
public int getInt(int i, int j)
Dataset
getInt
in interface Dataset
getInt
in class ObjectDatasetBase
public int getInt(int... pos)
getInt
in interface IDataset
getInt
in class ObjectDatasetBase
public short getShort()
Dataset
getShort
in interface Dataset
getShort
in class ObjectDatasetBase
public short getShort(int i)
Dataset
getShort
in interface Dataset
getShort
in class ObjectDatasetBase
public short getShort(int i, int j)
Dataset
getShort
in interface Dataset
getShort
in class ObjectDatasetBase
public short getShort(int... pos)
getShort
in interface IDataset
getShort
in class ObjectDatasetBase
public byte getByte()
Dataset
getByte
in interface Dataset
getByte
in class ObjectDatasetBase
public byte getByte(int i)
Dataset
getByte
in interface Dataset
getByte
in class ObjectDatasetBase
public byte getByte(int i, int j)
Dataset
getByte
in interface Dataset
getByte
in class ObjectDatasetBase
public byte getByte(int... pos)
getByte
in interface IDataset
getByte
in class ObjectDatasetBase
public boolean getBoolean()
Dataset
getBoolean
in interface Dataset
getBoolean
in class ObjectDatasetBase
public boolean getBoolean(int i)
Dataset
getBoolean
in interface Dataset
getBoolean
in class ObjectDatasetBase
public boolean getBoolean(int i, int j)
Dataset
getBoolean
in interface Dataset
getBoolean
in class ObjectDatasetBase
public boolean getBoolean(int... pos)
getBoolean
in interface IDataset
getBoolean
in class ObjectDatasetBase
public String getStringAbs(int index)
Dataset
getStringAbs
in interface Dataset
getStringAbs
in class ObjectDatasetBase
public int[] minPos(boolean... ignoreInvalids)
minPos
in interface IDataset
minPos
in class ObjectDatasetBase
ignoreInvalids
- - see IDataset.max(boolean...)
public int[] maxPos(boolean... ignoreInvalids)
maxPos
in interface IDataset
maxPos
in class ObjectDatasetBase
ignoreInvalids
- - see IDataset.max(boolean...)
public boolean containsInfs()
containsInfs
in interface Dataset
containsInfs
in class ObjectDatasetBase
public boolean containsNans()
containsNans
in interface Dataset
containsNans
in class ObjectDatasetBase
public ObjectDataset iadd(Object o)
Dataset
iadd
in interface Dataset
iadd
in class ObjectDatasetBase
public ObjectDataset isubtract(Object o)
Dataset
isubtract
in interface Dataset
isubtract
in class ObjectDatasetBase
public ObjectDataset imultiply(Object o)
Dataset
imultiply
in interface Dataset
imultiply
in class ObjectDatasetBase
public ObjectDataset idivide(Object o)
Dataset
idivide
in interface Dataset
idivide
in class ObjectDatasetBase
public ObjectDataset iremainder(Object o)
Dataset
iremainder
in interface Dataset
iremainder
in class ObjectDatasetBase
public ObjectDataset ifloor()
Dataset
ifloor
in interface Dataset
ifloor
in class ObjectDatasetBase
public ObjectDataset ipower(Object o)
Dataset
ipower
in interface Dataset
ipower
in class ObjectDatasetBase
public double residual(Object o)
Dataset
Dataset.residual(Object o, boolean ignoreNaNs)
with ignoreNaNs = falseresidual
in interface Dataset
residual
in class AbstractDataset
Copyright © 2014–2019 Eclipse Foundation. All rights reserved.