AbstractRealArray.RealMap, AbstractRealArray.RealReduce
Array.IndexingOrder
INVALID_PARITY, parity
dims, order, strides, values
Constructor and Description |
---|
IntegralHistogram(RealArray src,
IntegerArray membership,
int nBins)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected static int[] |
getDimensionsPlusOne(RealArray arr,
int nBins)
Gets the original dimensions plus one with an additional "bins" dimension at the end.
|
int |
nBins()
Gets the number of bins.
|
double[] |
query(double[] res,
int... bounds)
Queries for the values histogram within a rectangular region, whose bounds are expressed in the same way as
ProtoArray.subarray(int...) . |
eye, getBytes, mDiag, mEigs, mInvert, mMul, mSvd, mTranspose, parse, singleton, wrap, wrapUp
aEnt, aMax, aMean, aMin, applyKernelElementwiseOperation, applyKernelLeftElementwiseOperation, applyKernelRealAccumulatorOperation, applyKernelRealDimensionOperation, applyKernelRealIndexOperation, applyKernelRealReduceOperation, applyKernelRealToComplexOperation, applyKernelRealUnaryOperation, aProd, aSum, aVar, dProd, dSum, eAdd, eDiv, eMax, eMin, eMul, eSub, getComponentType, iGZero, iGZero, iLZero, iLZero, iMax, iMax, iMin, iMin, iSort, iSort, iZero, iZero, lAdd, lDiv, lMax, lMin, lMul, lSub, map, reduce, rfft, rfftDimensions, rMax, rMean, rMin, rProd, rSum, rVar, tocIm, tocRe, uAbs, uAdd, uAtan, uCos, uExp, uFill, uInv, uLog, uMul, uPow, uRnd, uShuffle, uSin, uSqr, uSqrt, wrap, wrapDown
checkInvalidParity, checkMatrixOrder, checkShape, fft, get, ifft, rifft, rifftDimensions, set, toString, transform, wrap
clone, concat, dims, map, nDims, order, physical, reshape, reverse, reverseOrder, shift, size, slice, slice, slice, slice, splice, stride, strides, subarray, tile, transpose, values
public IntegralHistogram(RealArray src, IntegerArray membership, int nBins)
src
- the RealArray
to integrate over.membership
- the class membership information.nBins
- the number of bins.public double[] query(double[] res, int... bounds)
ProtoArray.subarray(int...)
.ProtoArray.subarray(int...)
public int nBins()
protected static final int[] getDimensionsPlusOne(RealArray arr, int nBins)