// combine closed path boxes
this.closedPath.consolidate();
// Calculate transfer function
ComplexPoly fpNumer = this.forwardPath.getSnumer();
ComplexPoly fpDenom = this.forwardPath.getSdenom();
ComplexPoly cpNumer = this.closedPath.getSnumer();
ComplexPoly cpDenom = this.closedPath.getSdenom();
if(fpDenom.isEqual(cpDenom)){
super.sNumer = fpNumer.copy();
this.sDenom = (cpNumer.plus(fpDenom)).copy();
}
else{
super.sNumer = fpNumer.times(cpDenom);
super.sDenom = cpNumer.plus(cpDenom.times(fpDenom));
}
this.checkConsolidate = true;
}