Skip to main content
FRAMES NO FRAMES

IloStandardDeviation

public IloNumExprArg IloStandardDeviation(const IloIntExprArray x)
public IloNumExprArg IloStandardDeviation(const IloIntExprArray x, IloNum meanLB, IloNum meanUB)
Definition file: ilconcert/iloexpression.h
Creates a constrained numeric expression equal to the standard deviation of the values of the variables in an array.

This function creates a new constrained numeric expression which is equal to the standard deviation of the values of the variables in the array x.

Mathematically, the standard deviation is expressed as:

standdev.png

If the arguments meanLB and meanUB are provided, the mean of the values of the variables in the array x is constrained to be in the interval [meanLB, meanUB].

See Also: