Package org.jscience.physics.amount

Examples of org.jscience.physics.amount.Amount


        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;
    }
View Full Code Here

TOP

Related Classes of org.jscience.physics.amount.Amount

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.