Package Filters

Class PoleZeroPair

java.lang.Object
Filters.PoleZeroPair
All Implemented Interfaces:
Comparable<PoleZeroPair>

public class PoleZeroPair extends Object implements Comparable<PoleZeroPair>
  • Constructor Details Link icon

    • PoleZeroPair Link icon

      public PoleZeroPair(Complex pole, Complex zero, boolean oddOne)
  • Method Details Link icon

    • getPole Link icon

      public Complex getPole()
      Returns:
      the pole
    • setPole Link icon

      public void setPole(Complex pole)
      Parameters:
      pole - the pole to set
    • getZero Link icon

      public Complex getZero()
      Returns:
      the zero
    • setZero Link icon

      public void setZero(Complex zero)
      Parameters:
      zero - the zero to set
    • compareTo Link icon

      public int compareTo(PoleZeroPair o)
      Specified by:
      compareTo in interface Comparable<PoleZeroPair>
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • isOddOne Link icon

      public boolean isOddOne()
      OddOne is set to true if this was an odd ordered high or low pass filter, in which case it won't have conjugate pair.
      Returns:
      the oddOne
    • setOddOne Link icon

      public void setOddOne(boolean oddOne)
      Parameters:
      oddOne - the oddOne to set