Package org.zkoss.zss.engine

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


   * @param ctx the function context.
   * @return the square root of a complex number.
   */
  public static Object engineerImsqrt(Object[] args, XelContext ctx) {
    Complex complex = UtilFns.validateComplex(args[0].toString());
    return UtilFns.cToComplex(complex.sqrt(), complex.getSuffix());
  }
 
  /**
   * Returns the difference between two complex numbers.
   * This function implements the IMSUB(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.