public class VectorFFT extends BaseTransformOp
Modifier and Type | Field and Description |
---|---|
protected boolean |
executed |
protected int |
fftLength |
extraArgs, extraArgz, n, numProcessed, passThrough, x, y, z
Constructor and Description |
---|
VectorFFT() |
VectorFFT(INDArray x) |
VectorFFT(INDArray x,
INDArray y,
INDArray z,
long n,
int fftLength) |
VectorFFT(INDArray x,
INDArray z,
int fftLength) |
VectorFFT(INDArray x,
INDArray z,
long n,
int fftLength) |
VectorFFT(INDArray x,
int fftLength) |
Modifier and Type | Method and Description |
---|---|
void |
exec()
Execute the op if its pass through (not needed most of the time)
|
boolean |
isPassThrough()
Returns whether the op should be executed or not (through the executioner)
|
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
|
Op |
opForDimension(int index,
int dimension)
A copy of this operation for a particular dimension of the input
|
int |
opNum()
An op number
|
void |
setX(INDArray x)
set x (the input ndarray)
|
void |
setY(INDArray y)
set y(the pairwise ndarray)
|
void |
setZ(INDArray z)
set z (the solution ndarray)
|
derivative
exec, extraArgs, extraArgsBuff, extraArgsDataBuff, getOpType, init, isExecSpecial, n, numProcessed, setN, toString, x, y, z
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
exec, extraArgs, extraArgsBuff, extraArgsDataBuff, init, isExecSpecial, n, numProcessed, setN, x, y, z
public VectorFFT()
public VectorFFT(INDArray x, int fftLength)
public VectorFFT(INDArray x)
public int opNum()
Op
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 forpublic Op opForDimension(int index, int... dimension)
Op
index
- the index of the op to iterate overdimension
- the dimension to ge the input forpublic void exec()
Op
public boolean isPassThrough()
Op
isPassThrough
in interface Op
isPassThrough
in class BaseOp
public void setZ(INDArray z)
Op
Copyright © 2017. All Rights Reserved.