NO FRAMES

IloArcCos

public IloNumExprArg IloArcCos(const IloNumExprArg arg)
public IloNum IloCos(IloNum val)
public IloNum IloSin(IloNum val)
public IloNum IloTan(IloNum val)
public IloNum IloArcCos(IloNum val)
public IloNum IloArcSin(IloNum val)
public IloNum IloArcTan(IloNum val)
public IloNumExprArg IloSin(const IloNumExprArg arg)
public IloNumExprArg IloCos(const IloNumExprArg arg)
public IloNumExprArg IloTan(const IloNumExprArg arg)
public IloNumExprArg IloArcSin(const IloNumExprArg arg)
public IloNumExprArg IloArcTan(const IloNumExprArg arg)
Definition file: ilconcert/iloexpression.h
Trigonometric functions.

Concert Technology offers predefined functions that return an expression from a trigonometric function on an expression. These predefined functions also return a numeric value from a trigonometric function on a numeric value as well.

Programming Hint

If you want to manipulate constrained floating-point expressions in degrees, we strongly recommend that you call the trigonometric functions on variables expressed in radians and then convert the results to degrees (rather than declaring the constrained floating-point expressions in degrees and then converting them to radians to call the trigonometric functions).

The reason for that advice is that the method we recommend gives more accurate results in the context of the usual floating-point pitfalls.