public class BooleanDataset extends BooleanDatasetBase
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 |
---|---|
BooleanDataset |
clone()
Clone dataset
|
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.
|
BooleanDataset |
getSlice(SliceIterator siter)
Get a slice of the dataset.
|
String |
getStringAbs(int index)
Get an item from given absolute index as a string.
|
BooleanDataset |
getView(boolean deepCopyMetadata) |
BooleanDataset |
iadd(Object b)
OR
|
BooleanDataset |
idivide(Object b)
In-place division with object o
|
BooleanDataset |
imultiply(Object b)
AND
|
BooleanDataset |
ipower(Object b)
In-place raise to power of object o
|
BooleanDataset |
iremainder(Object b)
In-place remainder
|
BooleanDataset |
isubtract(Object b)
XOR
|
double |
residual(Object b,
Dataset w,
boolean ignoreNaNs)
Calculate residual of dataset with object o and weight.
|
containsInfs, containsInvalidNumbers, containsNans, copyItemsFromAxes, createArray, equals, fill, fillDataset, get, get, get, get, getAbs, getBufferLength, getData, getDType, getObject, getObject, getObject, getObject, getObjectAbs, getString, getString, getString, getString, getUniqueItems, hashCode, ifloor, maxPos, minPos, 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, 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 BooleanDataset getView(boolean deepCopyMetadata)
getView
in interface Dataset
getView
in class BooleanDatasetBase
deepCopyMetadata
- if true then deep-copy metadatapublic BooleanDataset clone()
ILazyDataset
clone
in interface Dataset
clone
in interface IDataset
clone
in interface ILazyDataset
clone
in class BooleanDatasetBase
public boolean getElementBooleanAbs(int index)
Dataset
getElementBooleanAbs
in interface Dataset
getElementBooleanAbs
in class BooleanDatasetBase
public double getElementDoubleAbs(int index)
Dataset
getElementDoubleAbs
in interface Dataset
getElementDoubleAbs
in class BooleanDatasetBase
public long getElementLongAbs(int index)
Dataset
getElementLongAbs
in interface Dataset
getElementLongAbs
in class BooleanDatasetBase
public double getDouble()
Dataset
getDouble
in interface Dataset
getDouble
in class BooleanDatasetBase
public double getDouble(int i)
Dataset
getDouble
in interface Dataset
getDouble
in class BooleanDatasetBase
public double getDouble(int i, int j)
Dataset
getDouble
in interface Dataset
getDouble
in class BooleanDatasetBase
public double getDouble(int... pos)
getDouble
in interface IDataset
getDouble
in class BooleanDatasetBase
public float getFloat()
Dataset
getFloat
in interface Dataset
getFloat
in class BooleanDatasetBase
public float getFloat(int i)
Dataset
getFloat
in interface Dataset
getFloat
in class BooleanDatasetBase
public float getFloat(int i, int j)
Dataset
getFloat
in interface Dataset
getFloat
in class BooleanDatasetBase
public float getFloat(int... pos)
getFloat
in interface IDataset
getFloat
in class BooleanDatasetBase
public long getLong()
Dataset
getLong
in interface Dataset
getLong
in class BooleanDatasetBase
public long getLong(int i)
Dataset
getLong
in interface Dataset
getLong
in class BooleanDatasetBase
public long getLong(int i, int j)
Dataset
getLong
in interface Dataset
getLong
in class BooleanDatasetBase
public long getLong(int... pos)
getLong
in interface IDataset
getLong
in class BooleanDatasetBase
public int getInt()
Dataset
getInt
in interface Dataset
getInt
in class BooleanDatasetBase
public int getInt(int i)
Dataset
getInt
in interface Dataset
getInt
in class BooleanDatasetBase
public int getInt(int i, int j)
Dataset
getInt
in interface Dataset
getInt
in class BooleanDatasetBase
public int getInt(int... pos)
getInt
in interface IDataset
getInt
in class BooleanDatasetBase
public short getShort()
Dataset
getShort
in interface Dataset
getShort
in class BooleanDatasetBase
public short getShort(int i)
Dataset
getShort
in interface Dataset
getShort
in class BooleanDatasetBase
public short getShort(int i, int j)
Dataset
getShort
in interface Dataset
getShort
in class BooleanDatasetBase
public short getShort(int... pos)
getShort
in interface IDataset
getShort
in class BooleanDatasetBase
public byte getByte()
Dataset
getByte
in interface Dataset
getByte
in class BooleanDatasetBase
public byte getByte(int i)
Dataset
getByte
in interface Dataset
getByte
in class BooleanDatasetBase
public byte getByte(int i, int j)
Dataset
getByte
in interface Dataset
getByte
in class BooleanDatasetBase
public byte getByte(int... pos)
getByte
in interface IDataset
getByte
in class BooleanDatasetBase
public boolean getBoolean()
Dataset
getBoolean
in interface Dataset
getBoolean
in class BooleanDatasetBase
public boolean getBoolean(int i)
Dataset
getBoolean
in interface Dataset
getBoolean
in class BooleanDatasetBase
public boolean getBoolean(int i, int j)
Dataset
getBoolean
in interface Dataset
getBoolean
in class BooleanDatasetBase
public boolean getBoolean(int... pos)
getBoolean
in interface IDataset
getBoolean
in class BooleanDatasetBase
public String getStringAbs(int index)
Dataset
getStringAbs
in interface Dataset
getStringAbs
in class BooleanDatasetBase
public BooleanDataset getSlice(SliceIterator siter)
AbstractDataset
getSlice
in class BooleanDatasetBase
siter
- Slice iteratorpublic BooleanDataset iadd(Object b)
iadd
in interface Dataset
iadd
in class BooleanDatasetBase
public BooleanDataset isubtract(Object b)
isubtract
in interface Dataset
isubtract
in class BooleanDatasetBase
public BooleanDataset imultiply(Object b)
imultiply
in interface Dataset
imultiply
in class BooleanDatasetBase
public BooleanDataset idivide(Object b)
Dataset
idivide
in interface Dataset
idivide
in class BooleanDatasetBase
public BooleanDataset iremainder(Object b)
Dataset
iremainder
in interface Dataset
iremainder
in class BooleanDatasetBase
public BooleanDataset ipower(Object b)
Dataset
ipower
in interface Dataset
ipower
in class BooleanDatasetBase
public double residual(Object b, Dataset w, boolean ignoreNaNs)
Dataset
residual
in interface Dataset
residual
in class BooleanDatasetBase
ignoreNaNs
- if true, skip NaNsCopyright © 2014–2019 Eclipse Foundation. All rights reserved.