public class ComplexDoubleDataset extends CompoundDoubleDataset
dataisizebase, 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 |
|---|---|
ComplexDoubleDataset |
clone()
Clone dataset
|
ComplexDoubleDataset |
fill(Object obj)
Fill dataset with given object
|
org.apache.commons.math3.complex.Complex |
get() |
org.apache.commons.math3.complex.Complex |
get(int... pos) |
org.apache.commons.math3.complex.Complex |
get(int i) |
org.apache.commons.math3.complex.Complex |
get(int i,
int j) |
org.apache.commons.math3.complex.Complex |
getComplex() |
org.apache.commons.math3.complex.Complex |
getComplex(int... pos) |
org.apache.commons.math3.complex.Complex |
getComplex(int i) |
org.apache.commons.math3.complex.Complex |
getComplex(int i,
int j) |
org.apache.commons.math3.complex.Complex |
getComplexAbs(int index)
Get complex value at absolute index in the internal array.
|
int |
getDType() |
double |
getImag() |
double |
getImag(int... pos) |
double |
getImag(int i) |
double |
getImag(int i,
int j) |
DoubleDataset |
getImaginaryPart() |
DoubleDataset |
getImaginaryView() |
Object |
getObject()
Get first item as an object.
|
Object |
getObject(int... pos) |
Object |
getObject(int i)
Get an item from given position as an object.
|
Object |
getObject(int i,
int j)
Get an item from given position as an object.
|
Object |
getObjectAbs(int index)
Get an item from given absolute index as an object.
|
double |
getReal() |
double |
getReal(int... pos) |
double |
getReal(int i) |
double |
getReal(int i,
int j) |
DoubleDataset |
getRealPart() |
DoubleDataset |
getRealView() |
ComplexDoubleDataset |
getSlice(SliceIterator siter)
Get a slice of the dataset.
|
String |
getStringAbs(int index)
Get an item from given absolute index as a string.
|
ComplexDoubleDataset |
getView(boolean deepCopyMetadata) |
ComplexDoubleDataset |
iadd(Object b)
In-place addition with object o
|
ComplexDoubleDataset |
idivide(Object b)
In-place division with object o
|
ComplexDoubleDataset |
imultiply(Object b)
In-place multiplication with object o
|
ComplexDoubleDataset |
ipower(Object b)
In-place raise to power of object o
|
ComplexDoubleDataset |
iremainder(Object b)
In-place remainder
|
ComplexDoubleDataset |
isubtract(Object b)
In-place subtraction with object o
|
Number |
max(boolean... switches) |
int[] |
maxPos(boolean... switches) |
Object |
mean(boolean... switches) |
Number |
min(boolean... switches) |
int[] |
minPos(boolean... switches) |
double |
residual(Object b,
Dataset w,
boolean ignoreNaNs)
Calculate residual of dataset with object o and weight.
|
void |
set(double dr,
double di,
int... pos)
Set real and imaginary values at given position
|
void |
set(double dr,
double di,
int i)
Set real and imaginary values at given position
|
void |
set(double dr,
double di,
int i,
int j)
Set real and imaginary values at given position
|
void |
set(Object obj,
int... pos)
Set the value given by object at given position
|
void |
set(Object obj,
int i)
Set the value given by object at given position.
|
void |
set(Object obj,
int i,
int j)
Set the value given by object at given position.
|
void |
setAbs(int index,
org.apache.commons.math3.complex.Complex val)
Set values at absolute index in the internal array.
|
void |
setAbs(int index,
double real,
double imag)
Set item at index to complex value given by real and imaginary parts
|
void |
setObjectAbs(int index,
Object obj)
Set an item at absolute index from an object.
|
ComplexDoubleDataset |
setSlice(Object o,
IndexIterator siter) |
Object |
sum(boolean... switches) |
asNonCompoundDataset, containsInfs, containsInvalidNumbers, containsNans, copyElements, copyItemsFromAxes, createArray, createCompoundDatasetWithLastDimension, createFromObject, equals, fillDataset, getAbs, getAbs, getBufferLength, getByteArray, getByteArray, getByteArray, getByteArray, getData, getDoubleArray, getDoubleArray, getDoubleArray, getDoubleArray, getDoubleArrayAbs, getElementBooleanAbs, getElementDoubleAbs, getElementLongAbs, getElements, getElementsView, getFirstValue, getFirstValue, getFirstValue, getFirstValue, getFloatArray, getFloatArray, getFloatArray, getFloatArray, getIntArray, getIntArray, getIntArray, getIntArray, getLongArray, getLongArray, getLongArray, getLongArray, getShortArray, getShortArray, getShortArray, getShortArray, getString, getString, getString, getString, hashCode, ifloor, resize, set, setAbs, setAbs, setBy1DIndex, setByBoolean, setByIndexes, setData, setElements, setItem, setItem, setItem, setItem, setItemDirect, setItemsOnAxesargMax, argMin, cast, cast, flatten, get1DIndex, get1DIndex, get1DIndexFromShape, getBoolean, getBoolean, getBoolean, getBoolean, getBroadcastView, getBy1DIndex, getByBoolean, getByIndexes, getByte, getByte, getByte, getByte, getCompoundStats, getDouble, getDouble, getDouble, getDouble, getDoubleArray, getDoubleArray, getDoubleArray, getDoubleArray, getElementsPerItem, getError, getError, getError, getErrorArray, getErrorArray, getErrorArray, getErrors, getFloat, getFloat, getFloat, getFloat, getInt, getInt, getInt, getInt, getIterator, getIterator, getLong, getLong, getLong, getLong, getShort, getShort, getShort, getShort, getSlice, getSlice, getSlice, getSlice, getSlice, getSlice, getSliceIterator, getSliceView, getSliceView, getSliceView, getTransposedView, getUniqueItems, ifloorDivide, max, maxItem, mean, min, minItem, peakToPeak, product, reshape, rootMeanSquare, rootMeanSquare, setSlice, setSlice, sort, squeeze, squeeze, squeezeEnds, stdDeviation, stdDeviation, sum, swapAxes, synchronizedCopy, transpose, variance, variance, varianceall, all, any, any, argMax, argMin, calcSteps, cast, checkAxis, checkAxis, checkCompatibility, copy, copy, copyToView, count, count, count, createStrides, createStrides, createStrides, createStrides, fillData, get1DIndex, get1DIndexFromShape, getBooleanIterator, getBooleanIterator, getBuffer, getElementClass, getError, getErrorBuffer, getFirst1DIndex, getIndices, getInternalSquaredError, getItemBytes, getIterator, getMaxLineLength, getNbytes, getNDPosition, getOffset, getPositionIterator, getRank, getShape, getShapeRef, getSize, getSliceIterator, getSliceIteratorFromAxes, getStats, getStrides, getStringStats, hasFloatingPointElements, isCompatibleWith, isComplex, max, mean, min, overrideInternal, peakToPeak, peakToPeak, product, product, residual, residual, rootMeanSquare, setErrorBuffer, setMaxLineLength, setShape, setSlice, setStringFormat, stdDeviation, stdDeviation, stdDeviation, stdDeviation, sum, toString, toString, variance, variance, varianceaddMetadata, checkPermutatedAxes, 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, waitall, all, any, any, argMax, argMin, cast, checkAxis, checkCompatibility, copy, copy, count, count, count, get1DIndex, getBooleanIterator, getBooleanIterator, getBuffer, getError, getErrorBuffer, getIndices, getIterator, getNbytes, getNDPosition, getOffset, getPositionIterator, getShapeRef, getSliceIterator, getSliceIteratorFromAxes, getStrides, hasFloatingPointElements, isCompatibleWith, isComplex, max, mean, min, overrideInternal, peakToPeak, peakToPeak, product, product, residual, residual, rootMeanSquare, setDirty, setErrorBuffer, setSlice, stdDeviation, stdDeviation, stdDeviation, stdDeviation, sum, toString, variance, variance, variancegetItemBytes, getMetadata, setStringFormataddMetadata, clearMetadata, getElementClass, getRank, getShape, getSize, hasErrors, setErrors, setMetadata, setShapegetFirstMetadata, getMetadatapublic int getDType()
getDType in interface DatasetgetDType in class CompoundDoubleDatasetpublic ComplexDoubleDataset clone()
ILazyDatasetclone in interface CompoundDatasetclone in interface Datasetclone in interface IDatasetclone in interface ILazyDatasetclone in class CompoundDoubleDatasetpublic ComplexDoubleDataset fill(Object obj)
Datasetfill in interface CompoundDatasetfill in interface Datasetfill in class CompoundDoubleDatasetpublic ComplexDoubleDataset getView(boolean deepCopyMetadata)
getView in interface CompoundDatasetgetView in interface DatasetgetView in class CompoundDoubleDatasetdeepCopyMetadata - if true then deep-copy metadatapublic org.apache.commons.math3.complex.Complex getComplexAbs(int index)
index - absolute indexpublic Object getObjectAbs(int index)
DatasetgetObjectAbs in interface DatasetgetObjectAbs in class CompoundDoubleDatasetpublic String getStringAbs(int index)
DatasetgetStringAbs in interface DatasetgetStringAbs in class CompoundDoubleDatasetpublic void setAbs(int index, org.apache.commons.math3.complex.Complex val)
index - absolute indexval - new valuespublic void setObjectAbs(int index, Object obj)
DatasetsetObjectAbs in interface DatasetsetObjectAbs in class CompoundDoubleDatasetpublic void setAbs(int index, double real, double imag)
index - absolute indexreal - imag - public org.apache.commons.math3.complex.Complex get()
public org.apache.commons.math3.complex.Complex get(int i)
i - public org.apache.commons.math3.complex.Complex get(int i, int j)
i - j - public org.apache.commons.math3.complex.Complex get(int... pos)
pos - public Object getObject()
DatasetgetObject in interface DatasetgetObject in class CompoundDoubleDatasetpublic Object getObject(int i)
DatasetgetObject in interface DatasetgetObject in class CompoundDoubleDatasetpublic Object getObject(int i, int j)
DatasetgetObject in interface DatasetgetObject in class CompoundDoubleDatasetpublic Object getObject(int... pos)
getObject in interface IDatasetgetObject in class CompoundDoubleDatasetpublic double getReal()
public double getReal(int i)
i - public double getReal(int i, int j)
i - j - public double getReal(int... pos)
pos - public double getImag()
public double getImag(int i)
i - public double getImag(int i, int j)
i - j - public double getImag(int... pos)
pos - public org.apache.commons.math3.complex.Complex getComplex()
public org.apache.commons.math3.complex.Complex getComplex(int i)
i - public org.apache.commons.math3.complex.Complex getComplex(int i, int j)
i - j - public org.apache.commons.math3.complex.Complex getComplex(int... pos)
pos - public void set(Object obj, int i)
Datasetset in interface Datasetset in class CompoundDoubleDatasetpublic void set(Object obj, int i, int j)
Datasetset in interface Datasetset in class CompoundDoubleDatasetpublic void set(Object obj, int... pos)
IDatasetset in interface IDatasetset in class CompoundDoubleDatasetpublic void set(double dr, double di, int i)
dr - di - i - public void set(double dr, double di, int i, int j)
dr - di - i - j - public void set(double dr, double di, int... pos)
dr - di - pos - public DoubleDataset getRealPart()
getRealPart in interface DatasetgetRealPart in class AbstractDatasetpublic DoubleDataset getRealView()
getRealView in interface DatasetgetRealView in class AbstractDatasetpublic DoubleDataset getImaginaryPart()
public DoubleDataset getImaginaryView()
public Number max(boolean... switches)
max in interface IDatasetmax in class AbstractCompoundDatasetswitches - - 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... switches)
min in interface IDatasetmin in class AbstractCompoundDatasetswitches - - see IDataset.max(boolean...)public Object sum(boolean... switches)
sum in interface Datasetsum in class AbstractCompoundDatasetswitches - - see IDataset.max(boolean...)public Object mean(boolean... switches)
mean in interface IDatasetmean in class AbstractCompoundDatasetswitches - - see IDataset.max(boolean...)public int[] maxPos(boolean... switches)
maxPos in interface IDatasetmaxPos in class AbstractCompoundDatasetswitches - - see IDataset.max(boolean...)public int[] minPos(boolean... switches)
minPos in interface IDatasetminPos in class AbstractCompoundDatasetswitches - - see IDataset.max(boolean...)public ComplexDoubleDataset getSlice(SliceIterator siter)
AbstractDatasetgetSlice in class CompoundDoubleDatasetsiter - Slice iteratorpublic ComplexDoubleDataset setSlice(Object o, IndexIterator siter)
setSlice in interface CompoundDatasetsetSlice in interface DatasetsetSlice in class CompoundDoubleDataseto - specifies the object used to set the specified slicesiter - specifies the slice iteratorpublic ComplexDoubleDataset iadd(Object b)
Datasetiadd in interface CompoundDatasetiadd in interface Datasetiadd in class CompoundDoubleDatasetpublic ComplexDoubleDataset isubtract(Object b)
Datasetisubtract in interface CompoundDatasetisubtract in interface Datasetisubtract in class CompoundDoubleDatasetpublic ComplexDoubleDataset imultiply(Object b)
Datasetimultiply in interface CompoundDatasetimultiply in interface Datasetimultiply in class CompoundDoubleDatasetpublic ComplexDoubleDataset idivide(Object b)
Datasetidivide in interface CompoundDatasetidivide in interface Datasetidivide in class CompoundDoubleDatasetpublic ComplexDoubleDataset iremainder(Object b)
Datasetiremainder in interface CompoundDatasetiremainder in interface Datasetiremainder in class CompoundDoubleDatasetpublic ComplexDoubleDataset ipower(Object b)
Datasetipower in interface CompoundDatasetipower in interface Datasetipower in class CompoundDoubleDatasetpublic double residual(Object b, Dataset w, boolean ignoreNaNs)
Datasetresidual in interface Datasetresidual in class CompoundDoubleDatasetignoreNaNs - if true, skip NaNsCopyright © 2014–2019 Eclipse Foundation. All rights reserved.