public abstract class AbstractCompoundDataset extends AbstractDataset implements CompoundDataset
| Modifier and Type | Field and Description |
|---|---|
protected int |
isize |
base, 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| Constructor and Description |
|---|
AbstractCompoundDataset()
Constructor required for serialisation.
|
| Modifier and Type | Method and Description |
|---|---|
IntegerDataset |
argMax(int axis,
boolean... ignoreInvalids)
Find indices of maximum values along given axis
|
IntegerDataset |
argMin(int axis,
boolean... ignoreInvalids)
Find indices of minimum values along given axis
|
CompoundDataset |
cast(boolean repeat,
int dtype,
int isize)
Cast a dataset
|
CompoundDataset |
cast(int dtype)
Cast a dataset
|
abstract AbstractCompoundDataset |
clone()
Clone dataset
|
boolean |
equals(Object obj) |
CompoundDataset |
flatten()
Flatten shape
|
protected int |
get1DIndex(int i) |
protected int |
get1DIndex(int i,
int j) |
protected int |
get1DIndexFromShape(int[] n) |
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.
|
CompoundDataset |
getBroadcastView(int... broadcastShape) |
CompoundDataset |
getBy1DIndex(IntegerDataset index)
This is modelled after the NumPy get item with an index dataset
|
CompoundDataset |
getByBoolean(Dataset selection)
This is modelled after the NumPy get item with a condition specified by a boolean dataset
|
CompoundDataset |
getByIndexes(Object... indexes)
This is modelled after the NumPy get item with an array of indexing objects
|
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.
|
protected StatisticsMetadata<double[]> |
getCompoundStats() |
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.
|
void |
getDoubleArray(double[] darray)
Get first item as a double array
|
void |
getDoubleArray(double[] darray,
int... pos)
Get an item as a double array
|
void |
getDoubleArray(double[] darray,
int i)
Get an item as a double array
|
void |
getDoubleArray(double[] darray,
int i,
int j)
Get an item as a double array
|
int |
getElementsPerItem() |
double |
getError(int... pos)
Get the error for a given position.
|
double |
getError(int i)
Get the error for given position.
|
double |
getError(int i,
int j)
Get the error for given position.
|
double[] |
getErrorArray(int... pos)
Get the error values for a single point in the dataset
|
double[] |
getErrorArray(int i)
Get the error values for given position
|
double[] |
getErrorArray(int i,
int j)
Get the error values for given position
|
CompoundDataset |
getErrors()
Get the errors, if any.
|
protected abstract double |
getFirstValue() |
protected abstract double |
getFirstValue(int... pos) |
protected abstract double |
getFirstValue(int i) |
protected abstract double |
getFirstValue(int i,
int j) |
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.
|
IndexIterator |
getIterator(boolean withPosition) |
IndexIterator |
getIterator(int element)
Get an iterator that picks out the chosen element from all items
|
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.
|
CompoundDataset |
getSlice(IMonitor mon,
int[] start,
int[] stop,
int[] step)
Get a slice of the dataset.
|
CompoundDataset |
getSlice(IMonitor mon,
Slice... slice)
Get a slice of the dataset.
|
CompoundDataset |
getSlice(IMonitor mon,
SliceND slice)
Get a slice of the dataset.
|
CompoundDataset |
getSlice(int[] start,
int[] stop,
int[] step)
Get a slice of the dataset.
|
CompoundDataset |
getSlice(Slice... slice)
Get a slice of the dataset.
|
abstract AbstractCompoundDataset |
getSlice(SliceIterator iterator)
Get a slice of the dataset.
|
CompoundDataset |
getSlice(SliceND slice)
Get a slice of the dataset.
|
IndexIterator |
getSliceIterator(SliceND slice) |
CompoundDataset |
getSliceView(int[] start,
int[] stop,
int[] step)
Get a slice of the dataset.
|
CompoundDataset |
getSliceView(Slice... slice)
Get a slice of the dataset.
|
CompoundDataset |
getSliceView(SliceND slice)
Get a slice of the dataset.
|
CompoundDataset |
getTransposedView(int... axes)
Permute copy of dataset's axes so that given order is old order:
|
Dataset |
getUniqueItems()
Get unique items
|
abstract AbstractCompoundDataset |
getView(boolean deepCopyMetadata) |
int |
hashCode() |
CompoundDataset |
ifloorDivide(Object o)
In-place floor division with object o
|
Number |
max(boolean... ignoreInvalids) |
CompoundDataset |
max(int axis,
boolean... ignoreInvalids) |
double[] |
maxItem()
Calculate maximum values of elements over all items in dataset
|
int[] |
maxPos(boolean... ignoreNaNs) |
Object |
mean(boolean... ignoreInvalids) |
CompoundDataset |
mean(int axis,
boolean... ignoreInvalids) |
Number |
min(boolean... ignoreInvalids) |
CompoundDataset |
min(int axis,
boolean... ignoreInvalids) |
double[] |
minItem()
Calculate minimum values of elements over all items in dataset
|
int[] |
minPos(boolean... ignoreNaNs) |
CompoundDataset |
peakToPeak(int axis,
boolean... ignoreInvalids) |
CompoundDataset |
product(int axis,
boolean... ignoreInvalids) |
CompoundDataset |
reshape(int... shape)
Returns new dataset with new shape but old data if possible, otherwise a copy is made
|
double |
rootMeanSquare(boolean... ignoreInvalids) |
CompoundDataset |
rootMeanSquare(int axis,
boolean... ignoreInvalids) |
CompoundDataset |
setSlice(Object obj,
int[] start,
int[] stop,
int[] step)
This is modelled after the NumPy array slice
|
CompoundDataset |
setSlice(Object object,
Slice... slice)
This is modelled after the NumPy array slice
|
CompoundDataset |
sort(Integer axis)
In-place sort of dataset
|
CompoundDataset |
squeeze()
Remove dimensions of 1 in shape of the dataset
|
CompoundDataset |
squeeze(boolean onlyFromEnd)
Remove dimensions of 1 in shape of the dataset from ends only if true
|
CompoundDataset |
squeezeEnds()
Remove dimensions of 1 from ends of shape of the dataset
|
CompoundDataset |
stdDeviation(int axis)
Standard deviation is square root of the variance
|
CompoundDataset |
stdDeviation(int axis,
boolean isWholePopulation,
boolean... ignoreInvalids)
Standard deviation is square root of the variance
|
Object |
sum(boolean... ignoreInvalids) |
CompoundDataset |
sum(int axis,
boolean... ignoreInvalids) |
CompoundDataset |
swapAxes(int axis1,
int axis2)
Swap two axes in dataset
|
CompoundDataset |
synchronizedCopy()
This is a synchronized version of the clone method
|
CompoundDataset |
transpose(int... axes)
|
double |
variance(boolean isWholePopulation,
boolean... ignoreInvalids)
The sample variance can be calculated in two ways: if the dataset is considered as the
entire population then the sample variance is simply the second central moment:
|
CompoundDataset |
variance(int axis) |
CompoundDataset |
variance(int axis,
boolean isWholePopulation,
boolean... ignoreInvalids) |
all, all, any, any, argMax, argMin, calcSteps, cast, checkAxis, checkAxis, checkCompatibility, copy, copy, copyToView, count, count, createStrides, createStrides, createStrides, createStrides, fillData, get1DIndex, get1DIndexFromShape, getBooleanIterator, getBooleanIterator, getBuffer, getBufferLength, getElementClass, getError, getErrorBuffer, getFirst1DIndex, getIndices, getInternalSquaredError, getItemBytes, getIterator, getMaxLineLength, getMetadataMap, getName, getNbytes, getNDPosition, getOffset, getPositionIterator, getRank, getRealPart, getRealView, getShape, getShapeRef, getSize, getSliceIterator, getSliceIteratorFromAxes, getStats, getStrides, getStringStats, hasFloatingPointElements, isCompatibleWith, isComplex, overrideInternal, peakToPeak, product, residual, residual, setData, setErrorBuffer, setItemDirect, setMaxLineLength, setName, setShape, setSlice, setStringFormat, stdDeviation, stdDeviation, toString, toString, varianceaddMetadata, checkPermutatedAxes, clearMetadata, copyMetadata, copyMetadata, createFromSerializable, dirtyMetadata, findMetadataTypeSubInterfaces, getDType, getErrorMetadata, getFirstMetadata, getMetadata, getMetadata, hasErrors, reshapeMetadata, restoreMetadata, setDirty, setErrors, setMetadata, sliceMetadata, transposeMetadatafinalize, getClass, notify, notifyAll, wait, wait, waitasNonCompoundDataset, copyElements, fill, getByteArray, getByteArray, getByteArray, getByteArray, getDoubleArray, getDoubleArray, getDoubleArray, getDoubleArray, getDoubleArrayAbs, getElements, getElementsView, getFloatArray, getFloatArray, getFloatArray, getFloatArray, getIntArray, getIntArray, getIntArray, getIntArray, getLongArray, getLongArray, getLongArray, getLongArray, getShortArray, getShortArray, getShortArray, getShortArray, iadd, idivide, ifloor, imultiply, ipower, iremainder, isubtract, setBy1DIndex, setByBoolean, setByIndexes, setElements, setSliceall, all, any, any, argMax, argMin, cast, checkAxis, checkCompatibility, containsInfs, containsInvalidNumbers, containsNans, copy, copy, copyItemsFromAxes, count, count, fillDataset, get1DIndex, getBooleanIterator, getBooleanIterator, getBuffer, getDType, getElementBooleanAbs, getElementDoubleAbs, getElementLongAbs, getError, getErrorBuffer, getIndices, getIterator, getNbytes, getNDPosition, getObject, getObject, getObject, getObjectAbs, getOffset, getPositionIterator, getRealPart, getRealView, getShapeRef, getSliceIterator, getSliceIteratorFromAxes, getStrides, getString, getString, getString, getStringAbs, hasFloatingPointElements, isCompatibleWith, isComplex, overrideInternal, peakToPeak, product, residual, residual, residual, set, set, set, setDirty, setErrorBuffer, setItemsOnAxes, setObjectAbs, setSlice, stdDeviation, stdDeviation, toString, variancegetItemBytes, getMetadata, getObject, getString, resize, set, setStringFormataddMetadata, clearMetadata, getElementClass, getRank, getShape, getSize, hasErrors, setErrors, setMetadata, setShapegetFirstMetadata, getMetadataprotected int isize
public AbstractCompoundDataset()
public int getElementsPerItem()
getElementsPerItem in interface ILazyDatasetgetElementsPerItem in class AbstractDatasetprotected int get1DIndex(int i)
get1DIndex in class AbstractDatasetprotected int get1DIndex(int i, int j)
get1DIndex in class AbstractDatasetprotected int get1DIndexFromShape(int[] n)
get1DIndexFromShape in class AbstractDatasetpublic Dataset getUniqueItems()
DatasetgetUniqueItems in interface Datasetpublic IndexIterator getIterator(boolean withPosition)
getIterator in interface DatasetgetIterator in class AbstractDatasetwithPosition - set true if position is neededpublic IndexIterator getIterator(int element)
element - public IndexIterator getSliceIterator(SliceND slice)
getSliceIterator in interface DatasetgetSliceIterator in class AbstractDatasetslice - an n-D slicepublic boolean equals(Object obj)
equals in class AbstractDatasetpublic int hashCode()
hashCode in class AbstractDatasetpublic CompoundDataset cast(boolean repeat, int dtype, int isize)
Datasetcast in interface CompoundDatasetcast in interface Datasetcast in class AbstractDatasetdtype - dataset typeisize - item sizepublic CompoundDataset cast(int dtype)
Datasetcast in interface CompoundDatasetcast in interface Datasetcast in class AbstractDatasetdtype - dataset typepublic abstract AbstractCompoundDataset clone()
ILazyDatasetclone in interface CompoundDatasetclone in interface Datasetclone in interface IDatasetclone in interface ILazyDatasetclone in class AbstractDatasetpublic CompoundDataset flatten()
Datasetflatten in interface CompoundDatasetflatten in interface Datasetflatten in class AbstractDatasetpublic CompoundDataset getBy1DIndex(IntegerDataset index)
DatasetgetBy1DIndex in interface CompoundDatasetgetBy1DIndex in interface DatasetgetBy1DIndex in class AbstractDatasetindex - an integer datasetpublic CompoundDataset getByBoolean(Dataset selection)
DatasetgetByBoolean in interface CompoundDatasetgetByBoolean in interface DatasetgetByBoolean in class AbstractDatasetselection - a boolean dataset of same shape to use for selecting itemspublic CompoundDataset getByIndexes(Object... indexes)
DatasetgetByIndexes in interface CompoundDatasetgetByIndexes in interface DatasetgetByIndexes in class AbstractDatasetindexes - an array of integer dataset, boolean dataset, slices or null entries (same as
full slices)public CompoundDataset getSlice(IMonitor mon, int[] start, int[] stop, int[] step)
ILazyDatasetgetSlice in interface CompoundDatasetgetSlice in interface DatasetgetSlice in interface ILazyDatasetgetSlice in class AbstractDatasetstart - specifies the starting indexes (can be null for origin)stop - specifies the stopping indexes (can be null for end)step - specifies the steps in the slice (can be null for unit steps)public CompoundDataset getSlice(IMonitor mon, Slice... slice)
ILazyDatasetgetSlice in interface CompoundDatasetgetSlice in interface DatasetgetSlice in interface ILazyDatasetgetSlice in class AbstractDatasetslice - an array of slice objects (the array can be null or contain nulls)public CompoundDataset getSlice(IMonitor mon, SliceND slice)
ILazyDatasetgetSlice in interface CompoundDatasetgetSlice in interface DatasetgetSlice in interface ILazyDatasetgetSlice in class AbstractDatasetslice - an n-D slicepublic CompoundDataset getSlice(int[] start, int[] stop, int[] step)
ILazyDatasetgetSlice in interface CompoundDatasetgetSlice in interface DatasetgetSlice in interface IDatasetgetSlice in interface ILazyDatasetgetSlice in class AbstractDatasetstart - specifies the starting indexes (can be null for origin)stop - specifies the stopping indexes (can be null for end)step - specifies the steps in the slice (can be null for unit steps)public CompoundDataset getSlice(Slice... slice)
ILazyDatasetgetSlice in interface CompoundDatasetgetSlice in interface DatasetgetSlice in interface IDatasetgetSlice in interface ILazyDatasetgetSlice in class AbstractDatasetslice - an array of slice objects (the array can be null or contain nulls)public CompoundDataset getSlice(SliceND slice)
AbstractDatasetgetSlice in interface CompoundDatasetgetSlice in interface DatasetgetSlice in interface IDatasetgetSlice in interface ILazyDatasetgetSlice in class AbstractDatasetslice - an n-D slicepublic abstract AbstractCompoundDataset getSlice(SliceIterator iterator)
AbstractDatasetgetSlice in class AbstractDatasetiterator - Slice iteratorpublic CompoundDataset getSliceView(int[] start, int[] stop, int[] step)
IDatasetgetSliceView in interface CompoundDatasetgetSliceView in interface DatasetgetSliceView in interface IDatasetgetSliceView in interface ILazyDatasetgetSliceView in class AbstractDatasetstart - specifies the starting indexes (can be null for origin)stop - specifies the stopping indexes (can be null for end)step - specifies the steps in the slice (can be null for unit steps)public CompoundDataset getSliceView(Slice... slice)
IDatasetgetSliceView in interface CompoundDatasetgetSliceView in interface DatasetgetSliceView in interface IDatasetgetSliceView in interface ILazyDatasetgetSliceView in class AbstractDatasetslice - an array of slice objects (the array can be null or contain nulls)public CompoundDataset getSliceView(SliceND slice)
AbstractDatasetgetSliceView in interface CompoundDatasetgetSliceView in interface DatasetgetSliceView in interface IDatasetgetSliceView in interface ILazyDatasetgetSliceView in class AbstractDatasetslice - an nD slice objectpublic CompoundDataset getTransposedView(int... axes)
IDatasetaxisPerm = (p(0), p(1),...) => newdata(n(0), n(1),...) = olddata(o(0), o(1), ...) such that n(i) = o(p(i)) for all iI.e. for a 3D dataset (1,0,2) implies the new dataset has its 1st dimension running along the old dataset's 2nd dimension and the new 2nd is the old 1st. The 3rd dimension is left unchanged.
getTransposedView in interface CompoundDatasetgetTransposedView in interface DatasetgetTransposedView in interface IDatasetgetTransposedView in interface ILazyDatasetgetTransposedView in class AbstractDatasetaxes - if zero length then axes order reversedpublic abstract AbstractCompoundDataset getView(boolean deepCopyMetadata)
getView in interface CompoundDatasetgetView in interface DatasetgetView in class AbstractDatasetdeepCopyMetadata - if true then deep-copy metadatapublic CompoundDataset getBroadcastView(int... broadcastShape)
getBroadcastView in interface CompoundDatasetgetBroadcastView in interface DatasetgetBroadcastView in class AbstractDatasetpublic CompoundDataset ifloorDivide(Object o)
DatasetifloorDivide in interface CompoundDatasetifloorDivide in interface DatasetifloorDivide in class AbstractDatasetpublic CompoundDataset reshape(int... shape)
Datasetreshape in interface CompoundDatasetreshape in interface Datasetreshape in class AbstractDatasetshape - new shapepublic CompoundDataset setSlice(Object obj, int[] start, int[] stop, int[] step)
DatasetsetSlice in interface CompoundDatasetsetSlice in interface DatasetsetSlice in class AbstractDatasetobj - specifies the object used to set the specified slicestart - specifies the starting indexesstop - specifies the stopping indexes (nb, these are not included in the slice)step - specifies the steps in the slicepublic CompoundDataset setSlice(Object object, Slice... slice)
DatasetsetSlice in interface CompoundDatasetsetSlice in interface DatasetsetSlice in class AbstractDatasetpublic CompoundDataset sort(Integer axis)
Datasetsort in interface CompoundDatasetsort in interface Datasetaxis - to sort along. If null, then the flattened view is sortedpublic CompoundDataset squeezeEnds()
ILazyDatasetsqueezeEnds in interface CompoundDatasetsqueezeEnds in interface DatasetsqueezeEnds in interface IDatasetsqueezeEnds in interface ILazyDatasetsqueezeEnds in class AbstractDatasetpublic CompoundDataset squeeze()
IDatasetsqueeze in interface CompoundDatasetsqueeze in interface Datasetsqueeze in interface IDatasetsqueeze in class AbstractDatasetpublic CompoundDataset squeeze(boolean onlyFromEnd)
IDatasetsqueeze in interface CompoundDatasetsqueeze in interface Datasetsqueeze in interface IDatasetsqueeze in class AbstractDatasetpublic CompoundDataset swapAxes(int axis1, int axis2)
DatasetswapAxes in interface CompoundDatasetswapAxes in interface DatasetswapAxes in class AbstractDatasetpublic CompoundDataset synchronizedCopy()
DatasetsynchronizedCopy in interface CompoundDatasetsynchronizedCopy in interface DatasetsynchronizedCopy in class AbstractDatasetpublic CompoundDataset transpose(int... axes)
Datasettranspose in interface CompoundDatasettranspose in interface Datasettranspose in class AbstractDatasetprotected abstract double getFirstValue()
protected abstract double getFirstValue(int i)
protected abstract double getFirstValue(int i, int j)
protected abstract double getFirstValue(int... pos)
public boolean getBoolean()
DatasetgetBoolean in interface Datasetpublic boolean getBoolean(int i)
DatasetgetBoolean in interface Datasetpublic boolean getBoolean(int i, int j)
DatasetgetBoolean in interface Datasetpublic boolean getBoolean(int... pos)
getBoolean in interface IDatasetpublic byte getByte()
Datasetpublic byte getByte(int i)
Datasetpublic byte getByte(int i, int j)
Datasetpublic byte getByte(int... pos)
public short getShort()
Datasetpublic short getShort(int i)
Datasetpublic short getShort(int i, int j)
Datasetpublic short getShort(int... pos)
public int getInt()
Datasetpublic int getInt(int i)
Datasetpublic int getInt(int i, int j)
Datasetpublic int getInt(int... pos)
public long getLong()
Datasetpublic long getLong(int i)
Datasetpublic long getLong(int i, int j)
Datasetpublic long getLong(int... pos)
public float getFloat()
Datasetpublic float getFloat(int i)
Datasetpublic float getFloat(int i, int j)
Datasetpublic float getFloat(int... pos)
public double getDouble()
Datasetpublic double getDouble(int i)
Datasetpublic double getDouble(int i, int j)
Datasetpublic double getDouble(int... pos)
public void getDoubleArray(double[] darray)
CompoundDatasetgetDoubleArray in interface CompoundDatasetdarray - double array must be allocated and have sufficient lengthpublic void getDoubleArray(double[] darray, int i)
CompoundDatasetgetDoubleArray in interface CompoundDatasetdarray - double array must be allocated and have sufficient lengthpublic void getDoubleArray(double[] darray, int i, int j)
CompoundDatasetgetDoubleArray in interface CompoundDatasetdarray - double array must be allocated and have sufficient lengthpublic void getDoubleArray(double[] darray, int... pos)
CompoundDatasetgetDoubleArray in interface CompoundDatasetdarray - double array must be allocated and have sufficient lengthprotected StatisticsMetadata<double[]> getCompoundStats()
public IntegerDataset argMax(int axis, boolean... ignoreInvalids)
DatasetargMax in interface DatasetargMax in class AbstractDatasetignoreInvalids - - see Dataset.max(int, boolean...)public IntegerDataset argMin(int axis, boolean... ignoreInvalids)
DatasetargMin in interface DatasetargMin in class AbstractDatasetignoreInvalids - - see Dataset.max(int, boolean...)public Number max(boolean... ignoreInvalids)
max in interface IDatasetmax in class AbstractDatasetignoreInvalids - - Can be null, empty, or one or more booleans. By default, all booleans
are false. If the first boolean is true, will ignore NaNs and ignore infinities. Use the second
boolean to ignore infinities separately.public CompoundDataset max(int axis, boolean... ignoreInvalids)
max in interface CompoundDatasetmax in interface Datasetmax in class AbstractDatasetignoreInvalids - - Can be null, empty, or one or more booleans. By default, all booleans
are false. If the first boolean is true, will ignore NaNs and ignore infinities. Use the second
boolean to ignore infinities separately.public Number min(boolean... ignoreInvalids)
min in interface IDatasetmin in class AbstractDatasetignoreInvalids - - see IDataset.max(boolean...)public CompoundDataset min(int axis, boolean... ignoreInvalids)
min in interface CompoundDatasetmin in interface Datasetmin in class AbstractDatasetignoreInvalids - - see Dataset.max(int, boolean...)public int[] maxPos(boolean... ignoreNaNs)
maxPos in interface IDatasetignoreNaNs - - see IDataset.max(boolean...)public int[] minPos(boolean... ignoreNaNs)
minPos in interface IDatasetignoreNaNs - - see IDataset.max(boolean...)public CompoundDataset peakToPeak(int axis, boolean... ignoreInvalids)
peakToPeak in interface CompoundDatasetpeakToPeak in interface DatasetpeakToPeak in class AbstractDatasetignoreInvalids - - see Dataset.max(int, boolean...)public double[] maxItem()
CompoundDatasetmaxItem in interface CompoundDatasetpublic double[] minItem()
CompoundDatasetminItem in interface CompoundDatasetpublic Object mean(boolean... ignoreInvalids)
mean in interface IDatasetmean in class AbstractDatasetignoreInvalids - - see IDataset.max(boolean...)public CompoundDataset mean(int axis, boolean... ignoreInvalids)
mean in interface CompoundDatasetmean in interface Datasetmean in class AbstractDatasetignoreInvalids - - see Dataset.max(int, boolean...)public CompoundDataset product(int axis, boolean... ignoreInvalids)
product in interface CompoundDatasetproduct in interface Datasetproduct in class AbstractDatasetignoreInvalids - - see Dataset.max(int, boolean...)public CompoundDataset rootMeanSquare(int axis, boolean... ignoreInvalids)
rootMeanSquare in interface CompoundDatasetrootMeanSquare in interface DatasetrootMeanSquare in class AbstractDatasetignoreInvalids - - see Dataset.max(int, boolean...)public CompoundDataset stdDeviation(int axis)
DatasetstdDeviation in interface CompoundDatasetstdDeviation in interface DatasetstdDeviation in class AbstractDatasetwith isWholePopulation = falsepublic CompoundDataset stdDeviation(int axis, boolean isWholePopulation, boolean... ignoreInvalids)
DatasetstdDeviation in interface CompoundDatasetstdDeviation in interface DatasetstdDeviation in class AbstractDatasetignoreInvalids - - see Dataset.max(int, boolean...)with isWholePopulation = falsepublic Object sum(boolean... ignoreInvalids)
sum in interface Datasetsum in class AbstractDatasetignoreInvalids - - see IDataset.max(boolean...)public CompoundDataset sum(int axis, boolean... ignoreInvalids)
sum in interface CompoundDatasetsum in interface Datasetsum in class AbstractDatasetignoreInvalids - - see Dataset.max(int, boolean...)public double variance(boolean isWholePopulation, boolean... ignoreInvalids)
Dataset
sum((x_i - m)^2)/N
where {x_i} are set of N population values and m is the mean
m = sum(x_i)/N
Otherwise, if the dataset is a set of samples (with replacement) from the population then
sum((x_i - m)^2)/(N-1)
where {x_i} are set of N sample values and m is the unbiased estimate of the mean
m = sum(x_i)/N
Note that the second definition is also the unbiased estimator of population variance.variance in interface Datasetvariance in class AbstractDatasetignoreInvalids - - see Dataset.max(int, boolean...)public CompoundDataset variance(int axis)
variance in interface CompoundDatasetvariance in interface Datasetvariance in class AbstractDatasetwith isWholePopulation = falsepublic CompoundDataset variance(int axis, boolean isWholePopulation, boolean... ignoreInvalids)
variance in interface CompoundDatasetvariance in interface Datasetvariance in class AbstractDatasetignoreInvalids - - see Dataset.max(int, boolean...)with isWholePopulation = falsepublic double rootMeanSquare(boolean... ignoreInvalids)
rootMeanSquare in interface DatasetrootMeanSquare in class AbstractDatasetignoreInvalids - - see IDataset.max(boolean...)public CompoundDataset getErrors()
ILazyDatasetgetErrors in interface CompoundDatasetgetErrors in interface DatasetgetErrors in interface IDatasetgetErrors in interface ILazyDatasetgetErrors in class AbstractDatasetpublic double getError(int i)
DatasetgetError in interface DatasetgetError in class AbstractDatasetpublic double getError(int i, int j)
DatasetgetError in interface DatasetgetError in class AbstractDatasetpublic double getError(int... pos)
IDatasetgetError in interface IDatasetgetError in class AbstractDatasetpublic double[] getErrorArray(int i)
DatasetgetErrorArray in interface DatasetgetErrorArray in class AbstractDatasetpublic double[] getErrorArray(int i, int j)
DatasetgetErrorArray in interface DatasetgetErrorArray in class AbstractDatasetpublic double[] getErrorArray(int... pos)
IDatasetgetErrorArray in interface IDatasetgetErrorArray in class AbstractDatasetpos - of the point to be referencedCopyright © 2014–2018 Eclipse Foundation. All rights reserved.