Commit b4644120 authored by Davis King's avatar Davis King

Fixed grammar

parent 3cffafad
...@@ -17,7 +17,7 @@ namespace dlib ...@@ -17,7 +17,7 @@ namespace dlib
/*! /*!
WHAT THIS OBJECT REPRESENTS WHAT THIS OBJECT REPRESENTS
This object is a simple struct that lets you define the valid inputs to a This object is a simple struct that lets you define the valid inputs to a
multivariate function. It lets you define bounds constraints for each multivariate function. It lets you define bound constraints for each
variable as well as say if a variable is integer valued or not. Therefore, variable as well as say if a variable is integer valued or not. Therefore,
an instance of this struct says that a function takes upper.size() input an instance of this struct says that a function takes upper.size() input
variables, where the ith variable must be in the range [lower(i) upper(i)] variables, where the ith variable must be in the range [lower(i) upper(i)]
...@@ -134,7 +134,7 @@ namespace dlib ...@@ -134,7 +134,7 @@ namespace dlib
This object performs global optimization of a set of user supplied This object performs global optimization of a set of user supplied
functions. The goal is to maximize the following objective function: functions. The goal is to maximize the following objective function:
max_{function_i,x_i}: function_i(x_i) max_{function_i,x_i}: function_i(x_i)
subject to bounds constraints on each element of x_i. Moreover, each subject to bound constraints on each element of x_i. Moreover, each
element of x_i can be either real valued or integer valued. Each of the element of x_i can be either real valued or integer valued. Each of the
functions can also take a different number of variables. Therefore, the functions can also take a different number of variables. Therefore, the
final result of the optimization tells you which function produced the final result of the optimization tells you which function produced the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment