* @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.