Package org.waveprotocol.wave.model.operation.testing.RationalDomain

Examples of org.waveprotocol.wave.model.operation.testing.RationalDomain.Affine


//      mulNum = state.value.denominator;
//    } else {
//      mulNum = neg1 * (random.nextInt(9) + 1);
//    }

    return new Affine(
        state.value,
        new Rational(neg1 * (random.nextInt(9) + 1), random.nextInt(9) + 1),
        new Rational(neg2 * (random.nextInt(10)), random.nextInt(9) + 1)
        );
  }
View Full Code Here

TOP

Related Classes of org.waveprotocol.wave.model.operation.testing.RationalDomain.Affine

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.