@Override public ReportingFloatValue inversePower(double value) { ReportingFloatValue result = ((ReportingFloatValue) super.inversePower(value)); report(new StringBuilder(256).append("<apply><power/>").append(getExpression()).append("<apply><divide/><cn>1</cn>").append("<cn>").append(((float) value)).append("</cn>").append("</apply></apply>").toString()); return result; }
@Override public ReportingFloatValue multiply(double value) { ReportingFloatValue result = ((ReportingFloatValue) super.multiply(value)); report(new StringBuilder(256).append("<apply><times/>").append(getExpression()).append("<cn>").append(((float) value)).append("</cn>").append("</apply>").toString()); return result; }
@Override public ReportingFloatValue inverseNegbin(double value) { ReportingFloatValue result = ((ReportingFloatValue) super.inverseNegbin(value)); report(new StringBuilder(256).append("<apply><apply><inverse/><ci>negbin</ci></apply>").append(getExpression()).append("<cn>").append(((float) value)).append("</cn>").append("</apply>").toString()); return result; }
@Override public ReportingFloatValue add(double coefficient, Number factor, int exponent) { ReportingFloatValue result = ((ReportingFloatValue) super.add(coefficient, factor, exponent)); if (hasExpression()) { report(new StringBuilder(256).append("<apply><plus/>").append(getExpression()).append("<apply><times/>").append("<cn>").append(((float) coefficient)).append("</cn>").append("<apply><power/>").append("<cn>").append(factor.floatValue()).append("</cn>").append("<cn>").append(((float) exponent)).append("</cn>").append("</apply></apply></apply>").toString()); } else { report(new StringBuilder(256).append("<apply><times/>").append("<cn>").append(((float) coefficient)).append("</cn>").append("<apply><power/>").append("<cn>").append(factor.floatValue()).append("</cn>").append("<cn>").append(((float) exponent)).append("</cn>").append("</apply></apply>").toString()); } return result; }
@Override public ReportingFloatValue divide(double value) { ReportingFloatValue result = ((ReportingFloatValue) super.divide(value)); report(new StringBuilder(256).append("<apply><divide/>").append(getExpression()).append("<cn>").append(((float) value)).append("</cn>").append("</apply>").toString()); return result; }
@Override public ReportingFloatValue gaussSim(double value) { ReportingFloatValue result = ((ReportingFloatValue) super.gaussSim(value)); report(new StringBuilder(256).append("<apply><ci>gaussSim</ci>").append(getExpression()).append("<cn>").append(((float) value)).append("</cn>").append("</apply>").toString()); return result; }
@Override public ReportingFloatValue square() { ReportingFloatValue result = ((ReportingFloatValue) super.square()); report(new StringBuilder(256).append("<apply><power/>").append(getExpression()).append("<cn>2</cn></apply>").toString()); return result; }
@Override public ReportingFloatValue reciprocal() { ReportingFloatValue result = ((ReportingFloatValue) super.reciprocal()); report(new StringBuilder(256).append("<apply><divide/><cn>1</cn>").append(getExpression()).append("</apply>").toString()); return result; }
@Override public ReportingFloatValue inverseProbit() { ReportingFloatValue result = ((ReportingFloatValue) super.inverseProbit()); report(new StringBuilder(256).append("<apply><apply><inverse/><ci>probit</ci></apply>").append(getExpression()).append("</apply>").toString()); return result; }
@Override public ReportingFloatValue inverseLoglog() { ReportingFloatValue result = ((ReportingFloatValue) super.inverseLoglog()); report(new StringBuilder(256).append("<apply><apply><inverse/><ci>loglog</ci></apply>").append(getExpression()).append("</apply>").toString()); return result; }
@Override public ReportingFloatValue tanh() { ReportingFloatValue result = ((ReportingFloatValue) super.tanh()); report(new StringBuilder(256).append("<apply><tanh/>").append(getExpression()).append("</apply>").toString()); return result; }
@Override public ReportingFloatValue floor() { ReportingFloatValue result = ((ReportingFloatValue) super.floor()); report(new StringBuilder(256).append("<apply><floor/>").append(getExpression()).append("</apply>").toString()); return result; }
@Override public ReportingFloatValue exp() { ReportingFloatValue result = ((ReportingFloatValue) super.exp()); report(new StringBuilder(256).append("<apply><exp/>").append(getExpression()).append("</apply>").toString()); return result; }
@Override public ReportingFloatValue inverseLogit() { ReportingFloatValue result = ((ReportingFloatValue) super.inverseLogit()); report(new StringBuilder(256).append("<apply><apply><inverse/><ci>logit</ci></apply>").append(getExpression()).append("</apply>").toString()); return result; }
@Override public ReportingFloatValue sin() { ReportingFloatValue result = ((ReportingFloatValue) super.sin()); report(new StringBuilder(256).append("<apply><sin/>").append(getExpression()).append("</apply>").toString()); return result; }
@Override public ReportingFloatValue abs() { ReportingFloatValue result = ((ReportingFloatValue) super.abs()); report(new StringBuilder(256).append("<apply><abs/>").append(getExpression()).append("</apply>").toString()); return result; }
@Override public ReportingFloatValue ceiling() { ReportingFloatValue result = ((ReportingFloatValue) super.ceiling()); report(new StringBuilder(256).append("<apply><ceiling/>").append(getExpression()).append("</apply>").toString()); return result; }
@Override public ReportingFloatValue multiply(org.jpmml.evaluator.Value<? extends Number> value) { ReportingFloatValue result = ((ReportingFloatValue) super.multiply(value)); report(new StringBuilder(256).append("<apply><times/>").append(getExpression()).append("<cn>").append(value.floatValue()).append("</cn>").append("</apply>").toString()); return result; }
@Override public ReportingFloatValue subtract(org.jpmml.evaluator.Value<? extends Number> value) { ReportingFloatValue result = ((ReportingFloatValue) super.subtract(value)); if (hasExpression()) { report(new StringBuilder(256).append("<apply><minus/>").append(getExpression()).append("<cn>").append(value.floatValue()).append("</cn>").append("</apply>").toString()); } else { report(new StringBuilder(256).append("<apply><minus/>").append("<cn>").append(value.floatValue()).append("</cn>").append("</apply>").toString()); } return result; }
@Override public ReportingFloatValue add(org.jpmml.evaluator.Value<? extends Number> value) { ReportingFloatValue result = ((ReportingFloatValue) super.add(value)); if (hasExpression()) { report(new StringBuilder(256).append("<apply><plus/>").append(getExpression()).append("<cn>").append(value.floatValue()).append("</cn>").append("</apply>").toString()); } else { report(new StringBuilder(256).append("<cn>").append(value.floatValue()).append("</cn>").toString()); } return result; }