public class BooleanDataset extends BooleanDatasetBase
database, BLOCK_CLOSE, BLOCK_OPEN, odata, offset, size, stride, stringFormatmetadata, name, shapeARRAYFLOAT32, 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 |
|---|---|
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
|
BooleanDataset |
imultiply(Object b)
AND
|
BooleanDataset |
ipower(Object b)
In-place raise to power of argument
|
BooleanDataset |
iremainder(Object b)
In-place remainder of division
|
BooleanDataset |
isubtract(Object b)
XOR
|
double |
residual(Object b,
Dataset w,
boolean ignoreNaNs)
Calculate residual of dataset with object and weight.
|
containsInfs, containsInvalidNumbers, containsNans, copyItemsFromAxes, createArray, equals, fill, fillDataset, get, get, get, get, getAbs, getBufferLength, getData, 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, 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, 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, varianceaddMetadata, checkPermutatedAxes, checkSliceND, clearMetadata, copyMetadata, copyMetadata, createFromSerializable, dirtyMetadata, findMetadataTypeSubInterfaces, getErrorMetadata, getFirstMetadata, getMetadata, getMetadata, getMetadataMap, getName, hasErrors, reshapeMetadata, restoreMetadata, setDirty, setErrors, setMetadata, setName, 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 BooleanDatasetBaseindex - in arraypublic double getElementDoubleAbs(int index)
DatasetgetElementDoubleAbs in interface DatasetgetElementDoubleAbs in class BooleanDatasetBaseindex - in arraypublic long getElementLongAbs(int index)
DatasetgetElementLongAbs in interface DatasetgetElementLongAbs in class BooleanDatasetBaseindex - in arraypublic double getDouble()
DatasetgetDouble in interface DatasetgetDouble in class BooleanDatasetBasepublic double getDouble(int i)
DatasetgetDouble in interface DatasetgetDouble in class BooleanDatasetBasei - position in first dimensionpublic double getDouble(int i, int j)
DatasetgetDouble in interface DatasetgetDouble in class BooleanDatasetBasei - position in first dimensionj - position in second dimensionpublic double getDouble(int... pos)
getDouble in interface IDatasetgetDouble in class BooleanDatasetBasepos - positionpublic float getFloat()
DatasetgetFloat in interface DatasetgetFloat in class BooleanDatasetBasepublic float getFloat(int i)
DatasetgetFloat in interface DatasetgetFloat in class BooleanDatasetBasei - position in first dimensionpublic float getFloat(int i, int j)
DatasetgetFloat in interface DatasetgetFloat in class BooleanDatasetBasei - position in first dimensionj - position in second dimensionpublic float getFloat(int... pos)
getFloat in interface IDatasetgetFloat in class BooleanDatasetBasepos - positionpublic long getLong()
DatasetgetLong in interface DatasetgetLong in class BooleanDatasetBasepublic long getLong(int i)
DatasetgetLong in interface DatasetgetLong in class BooleanDatasetBasei - position in first dimensionpublic long getLong(int i, int j)
DatasetgetLong in interface DatasetgetLong in class BooleanDatasetBasei - position in first dimensionj - position in second dimensionpublic long getLong(int... pos)
getLong in interface IDatasetgetLong in class BooleanDatasetBasepos - positionpublic int getInt()
DatasetgetInt in interface DatasetgetInt in class BooleanDatasetBasepublic int getInt(int i)
DatasetgetInt in interface DatasetgetInt in class BooleanDatasetBasei - position in first dimensionpublic int getInt(int i, int j)
DatasetgetInt in interface DatasetgetInt in class BooleanDatasetBasei - position in first dimensionj - position in second dimensionpublic int getInt(int... pos)
getInt in interface IDatasetgetInt in class BooleanDatasetBasepos - positionpublic short getShort()
DatasetgetShort in interface DatasetgetShort in class BooleanDatasetBasepublic short getShort(int i)
DatasetgetShort in interface DatasetgetShort in class BooleanDatasetBasei - position in first dimensionpublic short getShort(int i, int j)
DatasetgetShort in interface DatasetgetShort in class BooleanDatasetBasei - position in first dimensionj - position in second dimensionpublic short getShort(int... pos)
getShort in interface IDatasetgetShort in class BooleanDatasetBasepos - positionpublic byte getByte()
DatasetgetByte in interface DatasetgetByte in class BooleanDatasetBasepublic byte getByte(int i)
DatasetgetByte in interface DatasetgetByte in class BooleanDatasetBasei - position in first dimensionpublic byte getByte(int i, int j)
DatasetgetByte in interface DatasetgetByte in class BooleanDatasetBasei - position in first dimensionj - position in second dimensionpublic byte getByte(int... pos)
getByte in interface IDatasetgetByte in class BooleanDatasetBasepos - positionpublic boolean getBoolean()
DatasetgetBoolean in interface DatasetgetBoolean in class BooleanDatasetBasepublic boolean getBoolean(int i)
DatasetgetBoolean in interface DatasetgetBoolean in class BooleanDatasetBasei - position in first dimensionpublic boolean getBoolean(int i, int j)
DatasetgetBoolean in interface DatasetgetBoolean in class BooleanDatasetBasei - position in first dimensionj - position in second dimensionpublic boolean getBoolean(int... pos)
getBoolean in interface IDatasetgetBoolean in class BooleanDatasetBasepos - positionpublic String getStringAbs(int index)
DatasetgetStringAbs in interface DatasetgetStringAbs in class BooleanDatasetBaseindex - in arraypublic BooleanDataset getSlice(SliceIterator siter)
AbstractDatasetgetSlice in class BooleanDatasetBasesiter - Slice iteratorpublic BooleanDataset iadd(Object b)
iadd in interface Datasetiadd in class BooleanDatasetBaseb - object to usepublic BooleanDataset isubtract(Object b)
isubtract in interface Datasetisubtract in class BooleanDatasetBaseb - object to usepublic BooleanDataset imultiply(Object b)
imultiply in interface Datasetimultiply in class BooleanDatasetBaseb - object to usepublic BooleanDataset idivide(Object b)
Datasetidivide in interface Datasetidivide in class BooleanDatasetBaseb - object to usepublic BooleanDataset iremainder(Object b)
Datasetiremainder in interface Datasetiremainder in class BooleanDatasetBaseb - object to usepublic BooleanDataset ipower(Object b)
Datasetipower in interface Datasetipower in class BooleanDatasetBaseb - object to usepublic double residual(Object b, Dataset w, boolean ignoreNaNs)
Datasetresidual in interface Datasetresidual in class BooleanDatasetBaseb - object to usew - to useignoreNaNs - if true, skip NaNsCopyright © 2014–2022 Eclipse Foundation. All rights reserved.