Examples of over()


Examples of flanagan.analysis.ErrorProp.over()

           ErrorProp airRI = new ErrorProp(RefractiveIndex.air(super.wavelength), 0.0D);
           ErrorProp phi = new ErrorProp();
           ErrorProp angle = new ErrorProp();
           for(int i=0; i<this.numberOfTEmeasurementsPrism; i++){
                angle.reset(this.anglesRadTE[i], this.errorsRadTE[i]);
                phi = (angle.over(prismRI)).times(airRI);
                phi = ErrorProp.asin(phi);
                phi = alpha.plus(phi);
                phi = prismRI.times(ErrorProp.sin(phi));
                this.effectiveRefractiveIndicesTE[i] = phi.getValue();
                this.effectiveErrorsTE[i] = phi.getError();
View Full Code Here

Examples of flanagan.analysis.ErrorProp.over()

           ErrorProp airRI = new ErrorProp(RefractiveIndex.air(super.wavelength), 0.0D);
           ErrorProp phi = new ErrorProp();
           ErrorProp angle = new ErrorProp();
           for(int i=0; i<this.numberOfTMmeasurementsPrism; i++){
                angle.reset(this.anglesRadTM[i], this.errorsRadTM[i]);
                phi = (angle.over(prismRI)).times(airRI);
                phi = ErrorProp.asin(phi);
                phi = alpha.plus(phi);
                phi = prismRI.times(ErrorProp.sin(phi));
                this.effectiveRefractiveIndicesTM[i] = phi.getValue();
                this.effectiveErrorsTM[i] = phi.getError();
View Full Code Here

Examples of flanagan.complex.Complex.over()

    public Complex getOutputS(Complex sValue, Complex iinput){
        super.sValue=sValue;
        super.inputS=iinput;
        Complex term = super.sValue.times(this.kp);
        term = term.plus(this.ki);
        term = term.over(super.sValue);
        super.outputS=term.times(super.inputS);
        if(super.deadTime!=0.0D)super.outputS = super.outputS.times(Complex.exp(super.sValue.times(-super.deadTime)));
        return super.outputS;
    }
View Full Code Here

Examples of flanagan.complex.Complex.over()

    //  Get the s-domain output for the stored input and  s-value.
    public Complex getOutputS(){
        Complex term = super.sValue.times(this.kp);
        term = term.plus(this.ki);
        term = term.over(super.sValue);
        super.outputS=term.times(super.inputS);
        if(super.deadTime!=0.0D)super.outputS = super.outputS.times(Complex.exp(super.sValue.times(-super.deadTime)));
        return super.outputS;
    }
View Full Code Here

Examples of flanagan.complex.Complex.over()

    }

    // Calculate the impedance of two impedances in parallel
    public static Complex impedanceInParallel(Complex z1, Complex z2){
        Complex ret = z1.times(z2);
        return ret.over(z1.plus(z2));
    }

    // Calculate the impedance of two impedances in parallel
    public static Complex impedanceInParallel(Complex z1, double z2){
        Complex ret = z1.times(z2);
View Full Code Here

Examples of flanagan.complex.Complex.over()

    }

    // Calculate the impedance of two impedances in parallel
    public static Complex impedanceInParallel(Complex z1, double z2){
        Complex ret = z1.times(z2);
        return ret.over(z1.plus(z2));
    }

    // Calculate the impedance of two impedances in parallel
    public static Complex impedanceInParallel(double z1, Complex z2){
        Complex ret = z2.times(z1);
View Full Code Here

Examples of flanagan.complex.Complex.over()

    }

    // Calculate the impedance of two impedances in parallel
    public static Complex impedanceInParallel(double z1, Complex z2){
        Complex ret = z2.times(z1);
        return ret.over(z2.plus(z1));
    }

    // Calculate the impedance of two impedances in parallel
    public static Complex impedanceInParallel(double z1, double z2){
        return new Complex(z1*z2/(z1+z2), 0.0D);
View Full Code Here

Examples of flanagan.complex.Complex.over()

    // Calculate the impedance of a resistor and capacitor in parallel
    public static Complex rInParallelWithC(double res, double cap, double omega){
        Complex zC = new Complex(0.0D, -1.0D/(cap*omega));
        Complex zR = new Complex(res, 0.0D);
        Complex ret = zC.times(zR);
        return ret.over(zC.plus(zR));
    }

    // Calculate the impedance of a resistor and an inductor in parallel
    public static Complex rInParallelWithL(double res, double ind, double omega){
        Complex zL = new Complex(0.0D, ind*omega);
 
View Full Code Here

Examples of flanagan.complex.Complex.over()

    // Calculate the impedance of a resistor and an inductor in parallel
    public static Complex rInParallelWithL(double res, double ind, double omega){
        Complex zL = new Complex(0.0D, ind*omega);
        Complex zR = new Complex(res, 0.0D);
        Complex ret = zL.times(zR);
        return ret.over(zL.plus(zR));
    }

    // Calculate the impedance of a capacitor and an inductor in parallel
    public static Complex cInParallelWithL(double cap, double ind, double omega){
        Complex z1 = new Complex(0.0D, -1.0D/(cap*omega));
 
View Full Code Here

Examples of flanagan.complex.Complex.over()

    public static Complex cInParallelWithL(double cap, double ind, double omega){
        Complex z1 = new Complex(0.0D, -1.0D/(cap*omega));
        Complex z2 = new Complex(0.0D, ind*omega);
        Complex z3 = z1.plus(z2);
        Complex z4 = z1.times(z2);
        return z4.over(z3);
    }

    // return model circuit component list
    public static String[] modelComponents(int modelNumber){
        // Components within models
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.