org.nd4j.linalg.fft
Class VectorFFT
- java.lang.Object
-
- org.nd4j.linalg.fft.VectorFFT
-
- All Implemented Interfaces:
- Function<IComplexNDArray,IComplexNDArray>
public class VectorFFT extends java.lang.Object implements Function<IComplexNDArray,IComplexNDArray>
Encapsulated vector operation
-
-
Constructor Summary
Constructors Constructor and Description VectorFFT(int n)Create a vector fft operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description IComplexNDArrayapply(IComplexNDArray ndArray)Returns the result of applying this function toinput.
-
-
-
Constructor Detail
-
VectorFFT
public VectorFFT(int n)
Create a vector fft operation. If initialized with a nonzero number, this will find the next power of 2 for the element and truncate the return matrix to the original n- Parameters:
n-
-
-
Method Detail
-
apply
public IComplexNDArray apply(IComplexNDArray ndArray)
Description copied from interface:FunctionReturns the result of applying this function toinput. This method is generally expected, but not absolutely required, to have the following properties:- Its execution does not cause any observable side effects.
- The computation is consistent with equals; that is,
Objects.equal(a, b)implies thatObjects.equal(function.apply(a), function.apply(b)).
- Specified by:
applyin interfaceFunction<IComplexNDArray,IComplexNDArray>
-
-
DMelt 3.0 © DataMelt by jWork.ORG