Record Class PassConstants
java.lang.Object
java.lang.Record
ffx.numerics.fft.PassConstants
- Record Components:
n- The size of the input.im- The imaginary offset.nFFTs- The number of FFTs to process (default = 1).factor- The factor.product- The product of all factors applied so far.twiddles- The twiddle factors for this pass.
public record PassConstants(int n, int im, int nFFTs, int factor, int product, double[][] twiddles)
extends Record
Constant factors needed for each pass.
-
Constructor Summary
ConstructorsConstructorDescriptionPassConstants(int n, int im, int nFFTs, int factor, int product, double[][] twiddles) Creates an instance of aPassConstantsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intfactor()Returns the value of thefactorrecord component.final inthashCode()Returns a hash code value for this object.intim()Returns the value of theimrecord component.intn()Returns the value of thenrecord component.intnFFTs()Returns the value of thenFFTsrecord component.intproduct()Returns the value of theproductrecord component.final StringtoString()Returns a string representation of this record class.double[][]twiddles()Returns the value of thetwiddlesrecord component.
-
Constructor Details
-
PassConstants
public PassConstants(int n, int im, int nFFTs, int factor, int product, double[][] twiddles) Creates an instance of aPassConstantsrecord class.- Parameters:
n- the value for thenrecord componentim- the value for theimrecord componentnFFTs- the value for thenFFTsrecord componentfactor- the value for thefactorrecord componentproduct- the value for theproductrecord componenttwiddles- the value for thetwiddlesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
n
-
im
-
nFFTs
-
factor
-
product
-
twiddles
-