return (_exp.isLinear() && ((_value == 1) || (_value == 0)));
}
public double calcCoeffs(Map map, double factor) throws NonLinearExpression{
if (!((_value == 0) || (_value == 1)))
throw new NonLinearExpression(this);
if (_value == 0){
return 1;
}
else{
return _exp.calcCoeffs(map, factor);