Package org.zkoss.zss.engine

Examples of org.zkoss.zss.engine.Complex.cos()


   * @param ctx the function context.
   * @return the cosine of a complex number.
   */
  public static Object engineerImcos(Object[] args, XelContext ctx) {
    Complex complex = UtilFns.validateComplex(args[0].toString());
    return UtilFns.cToComplex(complex.cos(), complex.getSuffix());
  }
 
  /**
   * Returns the quotient of two complex numbers.
   * This function implements the IMDIV(arg0, arg1) spreadsheet function.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.