public class ComplexDoubleDataset extends CompoundDoubleDataset
data
isize
base, BLOCK_CLOSE, BLOCK_OPEN, odata, offset, size, stride, stringFormat
catchExceptions, logger, metadata, name, shape
ARRAYFLOAT32, 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
|
Complex |
get() |
Complex |
get(int... pos) |
Complex |
get(int i) |
Complex |
get(int i,
int j) |
Complex |
getComplex() |
Complex |
getComplex(int... pos) |
Complex |
getComplex(int i) |
Complex |
getComplex(int i,
int j) |
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,
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, setItemsOnAxes
argMax, 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, variance
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, getElementClass, getError, getErrorBuffer, getFirst1DIndex, getIndices, getInternalSquaredError, getItemBytes, getIterator, getMaxLineLength, getMetadataMap, getName, getNbytes, getNDPosition, getOffset, getPositionIterator, getRank, getShape, getShapeRef, getSize, getSliceIterator, getSliceIteratorFromAxes, getStats, getStrides, getStringStats, hasFloatingPointElements, isCompatibleWith, isComplex, overrideInternal, peakToPeak, product, residual, residual, setErrorBuffer, setMaxLineLength, setName, setShape, setSlice, setStringFormat, stdDeviation, stdDeviation, toString, toString, variance
addMetadata, checkPermutatedAxes, clearMetadata, copyMetadata, copyMetadata, createFromSerializable, dirtyMetadata, findMetadataTypeSubInterfaces, getErrorMetadata, getFirstMetadata, getMetadata, getMetadata, hasErrors, reshapeMetadata, restoreMetadata, setDirty, setErrors, setMetadata, sliceMetadata, transposeMetadata
finalize, getClass, notify, notifyAll, wait, wait, wait
all, all, any, any, argMax, argMin, cast, checkAxis, checkCompatibility, copy, copy, count, count, get1DIndex, getBooleanIterator, getBooleanIterator, getBuffer, getError, getErrorBuffer, getIndices, getIterator, getNbytes, getNDPosition, getOffset, getPositionIterator, getShapeRef, getSliceIterator, getSliceIteratorFromAxes, getStrides, hasFloatingPointElements, isCompatibleWith, isComplex, overrideInternal, peakToPeak, product, residual, residual, setDirty, setErrorBuffer, setSlice, stdDeviation, stdDeviation, toString, variance
getItemBytes, getMetadata, setStringFormat
addMetadata, clearMetadata, getElementClass, getRank, getShape, getSize, hasErrors, setErrors, setMetadata, setShape
getFirstMetadata, getMetadata
public int getDType()
getDType
in interface Dataset
getDType
in class CompoundDoubleDataset
public ComplexDoubleDataset clone()
ILazyDataset
clone
in interface CompoundDataset
clone
in interface Dataset
clone
in interface IDataset
clone
in interface ILazyDataset
clone
in class CompoundDoubleDataset
public ComplexDoubleDataset fill(Object obj)
Dataset
fill
in interface CompoundDataset
fill
in interface Dataset
fill
in class CompoundDoubleDataset
public ComplexDoubleDataset getView(boolean deepCopyMetadata)
getView
in interface CompoundDataset
getView
in interface Dataset
getView
in class CompoundDoubleDataset
deepCopyMetadata
- if true then deep-copy metadatapublic Complex getComplexAbs(int index)
index
- absolute indexpublic Object getObjectAbs(int index)
Dataset
getObjectAbs
in interface Dataset
getObjectAbs
in class CompoundDoubleDataset
public String getStringAbs(int index)
Dataset
getStringAbs
in interface Dataset
getStringAbs
in class CompoundDoubleDataset
public void setAbs(int index, Complex val)
index
- absolute indexval
- new valuespublic void setObjectAbs(int index, Object obj)
Dataset
setObjectAbs
in interface Dataset
setObjectAbs
in class CompoundDoubleDataset
public void setAbs(int index, double real, double imag)
index
- absolute indexreal
- imag
- public Object getObject()
Dataset
getObject
in interface Dataset
getObject
in class CompoundDoubleDataset
public Object getObject(int i)
Dataset
getObject
in interface Dataset
getObject
in class CompoundDoubleDataset
public Object getObject(int i, int j)
Dataset
getObject
in interface Dataset
getObject
in class CompoundDoubleDataset
public Object getObject(int... pos)
getObject
in interface IDataset
getObject
in class CompoundDoubleDataset
public 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 Complex getComplex()
public Complex getComplex(int i)
i
- public Complex getComplex(int i, int j)
i
- j
- public Complex getComplex(int... pos)
pos
- public void set(Object obj, int i)
Dataset
set
in interface Dataset
set
in class CompoundDoubleDataset
public void set(Object obj, int i, int j)
Dataset
set
in interface Dataset
set
in class CompoundDoubleDataset
public void set(Object obj, int... pos)
IDataset
set
in interface IDataset
set
in class CompoundDoubleDataset
public 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 Dataset
getRealPart
in class AbstractDataset
public DoubleDataset getRealView()
getRealView
in interface Dataset
getRealView
in class AbstractDataset
public DoubleDataset getImaginaryPart()
public DoubleDataset getImaginaryView()
public Number max(boolean... switches)
max
in interface IDataset
max
in class AbstractCompoundDataset
switches
- - 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 IDataset
min
in class AbstractCompoundDataset
switches
- - see IDataset.max(boolean...)
public Object sum(boolean... switches)
sum
in interface Dataset
sum
in class AbstractCompoundDataset
switches
- - see IDataset.max(boolean...)
public Object mean(boolean... switches)
mean
in interface IDataset
mean
in class AbstractCompoundDataset
switches
- - see IDataset.max(boolean...)
public int[] maxPos(boolean... switches)
maxPos
in interface IDataset
maxPos
in class AbstractCompoundDataset
switches
- - see IDataset.max(boolean...)
public int[] minPos(boolean... switches)
minPos
in interface IDataset
minPos
in class AbstractCompoundDataset
switches
- - see IDataset.max(boolean...)
public ComplexDoubleDataset getSlice(SliceIterator siter)
AbstractDataset
getSlice
in class CompoundDoubleDataset
siter
- Slice iteratorpublic ComplexDoubleDataset setSlice(Object o, IndexIterator siter)
setSlice
in interface CompoundDataset
setSlice
in interface Dataset
setSlice
in class CompoundDoubleDataset
o
- specifies the object used to set the specified slicesiter
- specifies the slice iteratorpublic ComplexDoubleDataset iadd(Object b)
Dataset
iadd
in interface CompoundDataset
iadd
in interface Dataset
iadd
in class CompoundDoubleDataset
public ComplexDoubleDataset isubtract(Object b)
Dataset
isubtract
in interface CompoundDataset
isubtract
in interface Dataset
isubtract
in class CompoundDoubleDataset
public ComplexDoubleDataset imultiply(Object b)
Dataset
imultiply
in interface CompoundDataset
imultiply
in interface Dataset
imultiply
in class CompoundDoubleDataset
public ComplexDoubleDataset idivide(Object b)
Dataset
idivide
in interface CompoundDataset
idivide
in interface Dataset
idivide
in class CompoundDoubleDataset
public ComplexDoubleDataset iremainder(Object b)
Dataset
iremainder
in interface CompoundDataset
iremainder
in interface Dataset
iremainder
in class CompoundDoubleDataset
public ComplexDoubleDataset ipower(Object b)
Dataset
ipower
in interface CompoundDataset
ipower
in interface Dataset
ipower
in class CompoundDoubleDataset
public double residual(Object b, Dataset w, boolean ignoreNaNs)
Dataset
residual
in interface Dataset
residual
in class CompoundDoubleDataset
ignoreNaNs
- if true, skip NaNsCopyright © 2014–2017 Eclipse Foundation. All rights reserved.