public void setOmega ( double omega ) { if ( omega <= 0 || Double . isNaN ( omega ) || Double . isInfinite ( omega ) ) throw new ArithmeticException ( "omega must be positive, not " + omega ) ; this . omega = omega ; this . cnst = Math . sqrt ( Math . pow ( 2 , 1 / omega ) - 1 ) ; }
Sets the omega parameter value which controls the shape of the kernel