return retval;
}
public static ComplexAmount valueOf(String s){
/* Amount is positive, Complex is unit vector */
ComplexAmount retval=new ComplexAmount();
Amount amount = Amount.valueOf(s);
retval.cUnit = amount.getUnit();
retval.cComplex=Complex.valueOf(amount.doubleValue(amount.getUnit()),0);
return retval;
}