public class ComplexFloatDataset extends CompoundFloatDataset
dataisizebase, BLOCK_CLOSE, BLOCK_OPEN, ELLIPSIS, 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 |
|---|---|
ComplexFloatDataset |
clone()
Clone dataset
|
ComplexFloatDataset |
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.
|
float |
getImag() |
float |
getImag(int... pos) |
float |
getImag(int i) |
float |
getImag(int i,
int j) |
FloatDataset |
getImaginaryPart() |
FloatDataset |
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.
|
float |
getReal() |
float |
getReal(int... pos) |
float |
getReal(int i) |
float |
getReal(int i,
int j) |
FloatDataset |
getRealPart() |
FloatDataset |
getRealView() |
ComplexFloatDataset |
getSlice(SliceIterator siter)
Get a slice of the dataset.
|
String |
getStringAbs(int index)
Get an item from given absolute index as a string.
|
ComplexFloatDataset |
getView(boolean deepCopyMetadata) |
ComplexFloatDataset |
iadd(Object b)
In-place addition
|
ComplexFloatDataset |
idivide(Object b)
In-place division
|
ComplexFloatDataset |
imultiply(Object b)
In-place multiplication
|
ComplexFloatDataset |
ipower(Object b)
In-place raise to power of argument
|
ComplexFloatDataset |
iremainder(Object b)
In-place remainder of division
|
boolean |
isComplex() |
ComplexFloatDataset |
isubtract(Object b)
In-place subtraction
|
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 and weight.
|
void |
set(float dr,
float di,
int... pos)
Set real and imaginary values at given position
|
void |
set(float dr,
float di,
int i)
Set real and imaginary values at given position
|
void |
set(float dr,
float 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,
float real,
float 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.
|
ComplexFloatDataset |
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, getSliceView, getSliceView, getSliceView, getTransposedView, getUniqueItems, ifloorDivide, internalGetSliceIterator, 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, cast, checkAxis, checkAxis, checkCompatibility, copy, copy, copyToView, count, count, count, createStrides, createStrides, createStrides, createStrides, fillData, get1DIndex, get1DIndexFromShape, getBooleanIterator, getBooleanIterator, getBuffer, getDType, getElementClass, getError, getErrorBuffer, getFirst1DIndex, getIndices, getInternalSquaredError, getItemBytes, getIterator, getMaxLineLength, getNbytes, getNDPosition, getOffset, getPositionIterator, getRank, getShape, getShapeRef, getSize, getSliceIterator, getSliceIterator, getSliceIteratorFromAxes, getStats, getStrides, getStringStats, hasFloatingPointElements, isCompatibleWith, 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, 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, waitall, all, any, any, argMax, argMin, cast, cast, checkAxis, checkCompatibility, copy, copy, count, count, count, get1DIndex, getBooleanIterator, getBooleanIterator, getBuffer, getDType, getError, getErrorBuffer, getIndices, getIterator, getNbytes, getNDPosition, getOffset, getPositionIterator, getShapeRef, getSliceIterator, getSliceIterator, getSliceIteratorFromAxes, getStrides, hasFloatingPointElements, isCompatibleWith, 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 ComplexFloatDataset clone()
ILazyDatasetclone in interface CompoundDatasetclone in interface Datasetclone in interface IDatasetclone in interface ILazyDatasetclone in class CompoundFloatDatasetpublic boolean isComplex()
isComplex in interface DatasetisComplex in class AbstractDatasetpublic ComplexFloatDataset fill(Object obj)
Datasetfill in interface CompoundDatasetfill in interface Datasetfill in class CompoundFloatDatasetobj - fill valuepublic ComplexFloatDataset getView(boolean deepCopyMetadata)
getView in interface CompoundDatasetgetView in interface DatasetgetView in class CompoundFloatDatasetdeepCopyMetadata - 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 CompoundFloatDatasetindex - in arraypublic String getStringAbs(int index)
DatasetgetStringAbs in interface DatasetgetStringAbs in class CompoundFloatDatasetindex - in arraypublic 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 CompoundFloatDatasetindex - in arrayobj - value to setpublic void setAbs(int index, float real, float imag)
index - absolute indexreal - real partimag - imaginary partpublic org.apache.commons.math3.complex.Complex get()
public org.apache.commons.math3.complex.Complex get(int i)
i - position in first dimensionpublic org.apache.commons.math3.complex.Complex get(int i, int j)
i - position in first dimensionj - position in second dimensionpublic org.apache.commons.math3.complex.Complex get(int... pos)
pos - positionpublic Object getObject()
DatasetgetObject in interface DatasetgetObject in class CompoundFloatDatasetpublic Object getObject(int i)
DatasetgetObject in interface DatasetgetObject in class CompoundFloatDataseti - position in first dimensionpublic Object getObject(int i, int j)
DatasetgetObject in interface DatasetgetObject in class CompoundFloatDataseti - position in first dimensionj - position in second dimensionpublic Object getObject(int... pos)
getObject in interface IDatasetgetObject in class CompoundFloatDatasetpos - positionpublic float getReal()
public float getReal(int i)
i - position in first dimensionpublic float getReal(int i, int j)
i - position in first dimensionj - position in second dimensionpublic float getReal(int... pos)
pos - positionpublic float getImag()
public float getImag(int i)
i - position in first dimensionpublic float getImag(int i, int j)
i - position in first dimensionj - position in second dimensionpublic float getImag(int... pos)
pos - positionpublic org.apache.commons.math3.complex.Complex getComplex()
public org.apache.commons.math3.complex.Complex getComplex(int i)
i - position in first dimensionpublic org.apache.commons.math3.complex.Complex getComplex(int i, int j)
i - position in first dimensionj - position in second dimensionpublic org.apache.commons.math3.complex.Complex getComplex(int... pos)
pos - positionpublic void set(Object obj, int i)
Datasetset in interface Datasetset in class CompoundFloatDatasetobj - value to seti - position in first dimensionpublic void set(Object obj, int i, int j)
Datasetset in interface Datasetset in class CompoundFloatDatasetobj - value to seti - position in first dimensionj - position in second dimensionpublic void set(Object obj, int... pos)
IDatasetset in interface IDatasetset in class CompoundFloatDatasetobj - value to setpos - positionpublic void set(float dr, float di, int i)
dr - real partdi - imaginary parti - position in first dimensionpublic void set(float dr, float di, int i, int j)
dr - real partdi - imaginary parti - position in first dimensionj - position in second dimensionpublic void set(float dr, float di, int... pos)
dr - real partdi - imaginary partpos - positionpublic FloatDataset getRealPart()
getRealPart in interface DatasetgetRealPart in class AbstractDatasetpublic FloatDataset getRealView()
getRealView in interface DatasetgetRealView in class AbstractDatasetpublic FloatDataset getImaginaryPart()
public FloatDataset 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 ComplexFloatDataset getSlice(SliceIterator siter)
AbstractDatasetgetSlice in class CompoundFloatDatasetsiter - Slice iteratorpublic ComplexFloatDataset setSlice(Object o, IndexIterator siter)
setSlice in interface CompoundDatasetsetSlice in interface DatasetsetSlice in class CompoundFloatDataseto - specifies the object used to set the specified slicesiter - specifies the slice iteratorpublic ComplexFloatDataset iadd(Object b)
Datasetiadd in interface CompoundDatasetiadd in interface Datasetiadd in class CompoundFloatDatasetb - object to usepublic ComplexFloatDataset isubtract(Object b)
Datasetisubtract in interface CompoundDatasetisubtract in interface Datasetisubtract in class CompoundFloatDatasetb - object to usepublic ComplexFloatDataset imultiply(Object b)
Datasetimultiply in interface CompoundDatasetimultiply in interface Datasetimultiply in class CompoundFloatDatasetb - object to usepublic ComplexFloatDataset idivide(Object b)
Datasetidivide in interface CompoundDatasetidivide in interface Datasetidivide in class CompoundFloatDatasetb - object to usepublic ComplexFloatDataset iremainder(Object b)
Datasetiremainder in interface CompoundDatasetiremainder in interface Datasetiremainder in class CompoundFloatDatasetb - object to usepublic ComplexFloatDataset ipower(Object b)
Datasetipower in interface CompoundDatasetipower in interface Datasetipower in class CompoundFloatDatasetb - object to usepublic double residual(Object b, Dataset w, boolean ignoreNaNs)
Datasetresidual in interface Datasetresidual in class CompoundFloatDatasetb - object to usew - to useignoreNaNs - if true, skip NaNsCopyright © 2014–2022 Eclipse Foundation. All rights reserved.