Tip 125.

The simplest method of estimation of the place of maximal (minimal) vector’s element is the selection of its values with support on the sum of product of the element’s number by the Boolean expression Vi = max(V) or Vi = min(V) (fig. 125). At that it is necessary to remember that «some simplicity is worse than stealing»: if the vector has two or more elements with maximal (minimal) value then the answer will be wrong. In this case we have to refuse from «the simplicity» and create more difficult function with help of means of programming.