public class BooleanDataset extends BooleanDatasetBase
database, BLOCK_CLOSE, BLOCK_OPEN, odata, offset, size, stride, stringFormatcatchExceptions, logger, metadata, name, shapeARRAYFLOAT32, 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, sortall, 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, 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, varianceaddMetadata, checkPermutatedAxes, clearMetadata, copyMetadata, copyMetadata, createFromSerializable, dirtyMetadata, findMetadataTypeSubInterfaces, getErrorMetadata, getFirstMetadata, getMetadata, getMetadata, hasErrors, reshapeMetadata, restoreMetadata, setDirty, setErrors, setMetadata, sliceMetadata, transposeMetadatafinalize, getClass, notify, notifyAll, wait, wait, waitgetMetadataaddMetadata, clearMetadata, hasErrors, setErrors, setMetadatagetFirstMetadata, getMetadatapublic BooleanDataset getView(boolean deepCopyMetadata)
getView in interface DatasetgetView in class BooleanDatasetBasedeepCopyMetadata - if true then deep-copy metadatapublic BooleanDataset clone()
ILazyDatasetclone in interface Datasetclone in interface IDatasetclone in interface ILazyDatasetclone in class BooleanDatasetBasepublic boolean getElementBooleanAbs(int index)
DatasetgetElementBooleanAbs in interface DatasetgetElementBooleanAbs in class BooleanDatasetBasepublic double getElementDoubleAbs(int index)
DatasetgetElementDoubleAbs in interface DatasetgetElementDoubleAbs in class BooleanDatasetBasepublic long getElementLongAbs(int index)
DatasetgetElementLongAbs in interface DatasetgetElementLongAbs in class BooleanDatasetBasepublic double getDouble()
DatasetgetDouble in interface DatasetgetDouble in class BooleanDatasetBasepublic double getDouble(int i)
DatasetgetDouble in interface DatasetgetDouble in class BooleanDatasetBasepublic double getDouble(int i, int j)
DatasetgetDouble in interface DatasetgetDouble in class BooleanDatasetBasepublic double getDouble(int... pos)
getDouble in interface IDatasetgetDouble in class BooleanDatasetBasepublic float getFloat()
DatasetgetFloat in interface DatasetgetFloat in class BooleanDatasetBasepublic float getFloat(int i)
DatasetgetFloat in interface DatasetgetFloat in class BooleanDatasetBasepublic float getFloat(int i, int j)
DatasetgetFloat in interface DatasetgetFloat in class BooleanDatasetBasepublic float getFloat(int... pos)
getFloat in interface IDatasetgetFloat in class BooleanDatasetBasepublic long getLong()
DatasetgetLong in interface DatasetgetLong in class BooleanDatasetBasepublic long getLong(int i)
DatasetgetLong in interface DatasetgetLong in class BooleanDatasetBasepublic long getLong(int i, int j)
DatasetgetLong in interface DatasetgetLong in class BooleanDatasetBasepublic long getLong(int... pos)
getLong in interface IDatasetgetLong in class BooleanDatasetBasepublic int getInt()
DatasetgetInt in interface DatasetgetInt in class BooleanDatasetBasepublic int getInt(int i)
DatasetgetInt in interface DatasetgetInt in class BooleanDatasetBasepublic int getInt(int i, int j)
DatasetgetInt in interface DatasetgetInt in class BooleanDatasetBasepublic int getInt(int... pos)
getInt in interface IDatasetgetInt in class BooleanDatasetBasepublic short getShort()
DatasetgetShort in interface DatasetgetShort in class BooleanDatasetBasepublic short getShort(int i)
DatasetgetShort in interface DatasetgetShort in class BooleanDatasetBasepublic short getShort(int i, int j)
DatasetgetShort in interface DatasetgetShort in class BooleanDatasetBasepublic short getShort(int... pos)
getShort in interface IDatasetgetShort in class BooleanDatasetBasepublic byte getByte()
DatasetgetByte in interface DatasetgetByte in class BooleanDatasetBasepublic byte getByte(int i)
DatasetgetByte in interface DatasetgetByte in class BooleanDatasetBasepublic byte getByte(int i, int j)
DatasetgetByte in interface DatasetgetByte in class BooleanDatasetBasepublic byte getByte(int... pos)
getByte in interface IDatasetgetByte in class BooleanDatasetBasepublic boolean getBoolean()
DatasetgetBoolean in interface DatasetgetBoolean in class BooleanDatasetBasepublic boolean getBoolean(int i)
DatasetgetBoolean in interface DatasetgetBoolean in class BooleanDatasetBasepublic boolean getBoolean(int i, int j)
DatasetgetBoolean in interface DatasetgetBoolean in class BooleanDatasetBasepublic boolean getBoolean(int... pos)
getBoolean in interface IDatasetgetBoolean in class BooleanDatasetBasepublic String getStringAbs(int index)
DatasetgetStringAbs in interface DatasetgetStringAbs in class BooleanDatasetBasepublic BooleanDataset getSlice(SliceIterator siter)
AbstractDatasetgetSlice in class BooleanDatasetBasesiter - Slice iteratorpublic BooleanDataset iadd(Object b)
iadd in interface Datasetiadd in class BooleanDatasetBasepublic BooleanDataset isubtract(Object b)
isubtract in interface Datasetisubtract in class BooleanDatasetBasepublic BooleanDataset imultiply(Object b)
imultiply in interface Datasetimultiply in class BooleanDatasetBasepublic BooleanDataset idivide(Object b)
Datasetidivide in interface Datasetidivide in class BooleanDatasetBasepublic BooleanDataset iremainder(Object b)
Datasetiremainder in interface Datasetiremainder in class BooleanDatasetBasepublic BooleanDataset ipower(Object b)
Datasetipower in interface Datasetipower in class BooleanDatasetBasepublic double residual(Object b, Dataset w, boolean ignoreNaNs)
Datasetresidual in interface Datasetresidual in class BooleanDatasetBaseignoreNaNs - if true, skip NaNsCopyright © 2014–2018 Eclipse Foundation. All rights reserved.