public class StandardDeviation extends Variance
bias, biasCorrected, meanapplyFinalTransform, finalResult, finalResultComplex, isComplexextraArgs, extraArgz, 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,
INDArray z,
long n,
boolean biasCorrected) |
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, isComplexAccumulation, numProcessed, op, op, op, op, op, op, setApplyFinalTransform, setFinalResult, setFinalResultComplex, zeroComplex, zeroDouble, zeroFloat, zeroHalfextraArgs, extraArgsBuff, extraArgsDataBuff, getOpType, isExecSpecial, n, setN, setX, setY, setZ, toString, x, y, zclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitextraArgs, extraArgsBuff, extraArgsDataBuff, isExecSpecial, n, setExtraArgs, setN, setX, setY, setZ, x, y, zpublic StandardDeviation(INDArray x, boolean biasCorrected)
public StandardDeviation(INDArray x, INDArray y, INDArray z, long n, 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 VarianceAccumulation.calculateFinalResult(double, long)Copyright © 2017. All rights reserved.