value
Computes a value determined by the coordinates given in the input array.
The method uses the simplexUpscale
function to transform the input array, resulting in a set of coefficients. These coefficients are then used to calculate a weighted combination of the elements in the simplex, represented by the x
property of the class.
Return
A value of type T
computed as the weighted combination of the simplex elements.
Parameters
u
An array of doubles representing the coordinates for the simplex. The size of the array must be one less than the number of elements in the simplex.