public class Min extends BaseAccumulation
applyFinalTransform, finalResult, finalResultComplex
extraArgs, n, numProcessed, passThrough, x, y, z
Constructor and Description |
---|
Min() |
Min(INDArray x) |
Min(INDArray x,
INDArray y) |
Min(INDArray x,
INDArray y,
INDArray z,
long n) |
Min(INDArray x,
INDArray y,
long n) |
Modifier and Type | Method and Description |
---|---|
String |
name()
The name of this operation
|
double |
op(double origin,
double other)
Pairwise op (applicable with an individual element in y)
|
float |
op(float origin,
float other)
Pairwise op (applicable with an individual element in y)
|
Op |
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
|
double |
update(double accum,
double x)
Do one accumulation update for a single-argument accumulation, given the
current accumulation value and another value to be processed/accumulated
|
double |
update(double accum,
double x,
double y)
Do an accumulation update for a pair-wise (op(x,y)) accumulation, given the
current accumulation value and a pair of values to be processed/accumulated
|
float |
update(float accum,
float x) |
float |
update(float accum,
float x,
float y) |
IComplexNumber |
update(IComplexNumber accum,
double x)
Complex update.
|
IComplexNumber |
update(IComplexNumber accum,
double x,
double y)
Complex update.
|
IComplexNumber |
update(IComplexNumber accum,
IComplexNumber x)
Complex update.
|
IComplexNumber |
update(IComplexNumber accum,
IComplexNumber x,
double y)
Complex update.
|
IComplexNumber |
update(IComplexNumber accum,
IComplexNumber x,
IComplexNumber y)
Complex update.
|
double |
zeroDouble()
Initial value (used to initialize the accumulation op)
|
float |
zeroFloat()
Initial value (used to initialize the accumulation op)
|
applyFinalTransform, calculateFinalResult, calculateFinalResult, combineSubResults, combineSubResults, combineSubResults, currentResult, getAndSetFinalResult, getAndSetFinalResult, getAndSetFinalResult, getFinalResult, getFinalResultComplex, init, noOp, numProcessed, op, op, op, op, op, op, setApplyFinalTransform, setFinalResult, setFinalResultComplex, setZ, zeroComplex
exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, isExecSpecial, isPassThrough, n, setN, setX, setY, toString, x, y, z
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, isExecSpecial, isPassThrough, n, setN, setX, setY, x, y, z
public Min()
public Min(INDArray x)
public int opNum()
Op
public String name()
Op
public float op(float origin, float other)
Op
op
in interface Op
op
in class BaseAccumulation
origin
- the origin numberother
- the other numberpublic double op(double origin, double other)
Op
op
in interface Op
op
in class BaseAccumulation
origin
- the origin numberother
- the other numberpublic double update(double accum, double x)
Accumulation
accum
- The current accumulation valuex
- The next/new value to be processed/accumulatedpublic double update(double accum, double x, double y)
Accumulation
accum
- The current accumulation valuex
- The next/new x value to be processed/accumulatedy
- The next/new y value to be processed/accumulatedpublic float update(float accum, float x)
Accumulation.update(double, double)
public float update(float accum, float x, float y)
public IComplexNumber update(IComplexNumber accum, double x)
Accumulation
Accumulation.update(double, double)
public IComplexNumber update(IComplexNumber accum, double x, double y)
Accumulation
public IComplexNumber update(IComplexNumber accum, IComplexNumber x)
Accumulation
Accumulation.update(double, double)
public IComplexNumber update(IComplexNumber accum, IComplexNumber x, IComplexNumber y)
Accumulation
public IComplexNumber update(IComplexNumber accum, IComplexNumber x, double y)
Accumulation
public double zeroDouble()
Accumulation
zeroDouble
in interface Accumulation
zeroDouble
in class BaseAccumulation
public float zeroFloat()
Accumulation
zeroFloat
in interface Accumulation
zeroFloat
in class BaseAccumulation
public Op opForDimension(int index, int dimension)
Op
index
- the index of the op to iterate overdimension
- the dimension to ge the input forpublic Op opForDimension(int index, int... dimension)
Op
index
- the index of the op to iterate overdimension
- the dimension to ge the input forCopyright © 2016. All Rights Reserved.