else
{
return new LambdaConst(Double.parseDouble(val));
}
}
LambdaCalc calc = new LambdaCalc();
n = n.getFirstChild();
while (n != null && n.getNodeType() != Node.ELEMENT_NODE)
n = n.getNextSibling();
if (n == null || !"val".equals(n.getNodeName()))
throw new IllegalArgumentException("Value not specified");