public class ScalarSubtraction extends BaseScalarOp
complexNumber, num
extraArgs, n, numProcessed, passThrough, x, y, z
Constructor and Description |
---|
ScalarSubtraction() |
ScalarSubtraction(INDArray x) |
ScalarSubtraction(INDArray x,
IComplexNumber num) |
ScalarSubtraction(INDArray x,
INDArray y,
INDArray z,
int n,
IComplexNumber num) |
ScalarSubtraction(INDArray x,
INDArray y,
INDArray z,
int n,
Number num) |
ScalarSubtraction(INDArray x,
Number num) |
Modifier and Type | Method and Description |
---|---|
String |
name()
The name of this operation
|
double |
op(double origin)
Transform an individual element
|
double |
op(double origin,
double other)
Pairwise op (applicable with an individual element in y)
|
float |
op(float origin)
Transform an individual element
|
float |
op(float origin,
float other)
Pairwise op (applicable with an individual element in y)
|
IComplexNumber |
op(IComplexNumber origin)
Transform an individual element
|
IComplexNumber |
op(IComplexNumber origin,
double other)
Pairwise op (applicable with an individual element in y)
|
IComplexNumber |
op(IComplexNumber origin,
float other)
Pairwise op (applicable with an individual element in y)
|
IComplexNumber |
op(IComplexNumber origin,
IComplexNumber 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
|
complexScalar, scalar
exec, extraArgs, init, isPassThrough, n, numProcessed, setX, setY, setZ, toString, x, y, z
public ScalarSubtraction()
public ScalarSubtraction(INDArray x, INDArray y, INDArray z, int n, IComplexNumber num)
public ScalarSubtraction(INDArray x, IComplexNumber num)
public ScalarSubtraction(INDArray x)
public String name()
Op
public IComplexNumber op(IComplexNumber origin, double other)
Op
origin
- the origin numberother
- the other numberpublic IComplexNumber op(IComplexNumber origin, float other)
Op
origin
- the origin numberother
- the other numberpublic IComplexNumber op(IComplexNumber origin, IComplexNumber other)
Op
origin
- the origin numberother
- the other numberpublic float op(float origin, float other)
Op
origin
- the origin numberother
- the other numberpublic double op(double origin, double other)
Op
origin
- the origin numberother
- the other numberpublic double op(double origin)
Op
origin
- the origin elementpublic float op(float origin)
Op
origin
- the origin elementpublic IComplexNumber op(IComplexNumber origin)
Op
origin
- the origin elementpublic Op opForDimension(int index, int dimension)
Op
index
- the index of the op to iterate overdimension
- the dimension to ge the input forCopyright © 2015. All Rights Reserved.