public class StandardDeviation extends Variance
bias, biasCorrected, meanapplyFinalTransform, finalResult, finalResultComplexextraArgs, n, numProcessed, passThrough, x, y, z| Constructor and Description |
|---|
StandardDeviation() |
StandardDeviation(INDArray x) |
StandardDeviation(INDArray x,
boolean biasCorrected) |
StandardDeviation(INDArray x,
INDArray y) |
StandardDeviation(INDArray x,
INDArray y,
long n) |
| Modifier and Type | Method and Description |
|---|---|
double |
calculateFinalResult(double accum,
long n)
Calculate the final result.
|
float |
calculateFinalResult(float accum,
long n) |
void |
exec()
Execute the op if its pass through (not needed most of the time)
|
void |
exec(int... dimension)
Exec along each dimension
|
double |
getAndSetFinalResult(double accum)
Get and set the final result.
The final result is also stored in the Accumulation op itself (and can be retrieved by getFinalResult()) In some Accumulation operations, a final operation must be done on the accumulated result. |
float |
getAndSetFinalResult(float accum) |
IComplexNumber |
getAndSetFinalResult(IComplexNumber accum)
Complex version of getAndSetFinalResult().
|
String |
name()
The name of this operation
|
Variance |
opForDimension(int index,
int... dimension)
A copy of this operation for a particular dimension of the input
|
Op |
opForDimension(int index,
int dimension)
A copy of this operation for a particular dimension of the input
|
int |
opNum()
An op number
|
combineSubResults, combineSubResults, combineSubResults, init, isBiasCorrected, isPassThrough, noOp, op, op, setBiasCorrected, update, update, update, update, update, update, update, update, updateapplyFinalTransform, currentResult, getFinalResult, getFinalResultComplex, numProcessed, op, op, op, op, op, op, setApplyFinalTransform, setFinalResult, setFinalResultComplex, setZ, zeroComplex, zeroDouble, zeroFloatextraArgs, extraArgsBuff, extraArgsDataBuff, isExecSpecial, n, setN, setX, setY, toString, x, y, zclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitextraArgs, extraArgsBuff, extraArgsDataBuff, isExecSpecial, n, setN, setX, setY, x, y, zpublic StandardDeviation(INDArray x, boolean biasCorrected)
public StandardDeviation()
public StandardDeviation(INDArray x)
public int opNum()
Oppublic Op opForDimension(int index, int dimension)
OpopForDimension in interface OpopForDimension in class Varianceindex - the index of the op to iterate overdimension - the dimension to ge the input forpublic Variance opForDimension(int index, int... dimension)
OpopForDimension in interface OpopForDimension in class Varianceindex - the index of the op to iterate overdimension - the dimension to ge the input forpublic void exec()
Oppublic void exec(int... dimension)
Oppublic double getAndSetFinalResult(double accum)
AccumulationgetAndSetFinalResult in interface AccumulationgetAndSetFinalResult in class Varianceaccum - The accumulated resultpublic float getAndSetFinalResult(float accum)
getAndSetFinalResult in interface AccumulationgetAndSetFinalResult in class VarianceAccumulation.getAndSetFinalResult(double)public IComplexNumber getAndSetFinalResult(IComplexNumber accum)
AccumulationgetAndSetFinalResult in interface AccumulationgetAndSetFinalResult in class VarianceAccumulation.getAndSetFinalResult(double)public double calculateFinalResult(double accum,
long n)
AccumulationAccumulation.getAndSetFinalResult(double), the result is
merely calculated and returned, not stored in the Accumulation op itself.calculateFinalResult in interface AccumulationcalculateFinalResult in class Varianceaccum - The accumulated resultn - the number of elements accumulatedpublic float calculateFinalResult(float accum,
long n)
calculateFinalResult in interface AccumulationcalculateFinalResult in class Variance#calculateFinalResult(double, int)Copyright © 2016. All Rights Reserved.