Class ComplexPair


  • public class ComplexPair
    extends java.lang.Object
    A complex pair
    • Field Summary

      Fields 
      Modifier and Type Field Description
      org.apache.commons.math3.complex.Complex first  
      org.apache.commons.math3.complex.Complex second  
    • Constructor Summary

      Constructors 
      Constructor Description
      ComplexPair​(org.apache.commons.math3.complex.Complex c1)  
      ComplexPair​(org.apache.commons.math3.complex.Complex c1, org.apache.commons.math3.complex.Complex c2)  
    • Field Detail

      • first

        public org.apache.commons.math3.complex.Complex first
      • second

        public org.apache.commons.math3.complex.Complex second
    • Constructor Detail

      • ComplexPair

        public ComplexPair​(org.apache.commons.math3.complex.Complex c1)
      • ComplexPair

        public ComplexPair​(org.apache.commons.math3.complex.Complex c1,
                           org.apache.commons.math3.complex.Complex c2)
    • Method Detail

      • isConjugate

        public boolean isConjugate()
      • isMatchedPair

        public boolean isMatchedPair()
        Returns:
        true if this is either a conjugate pair, or a pair of reals where neither is zero.
      • isNaN

        public boolean isNaN()
      • isReal

        public boolean isReal()