#region Copyright © 2009, De Santiago-Castillo JA. All rights reserved. //Copyright © 2009 Jose Antonio De Santiago-Castillo //E-mail:JAntonioDeSantiago@gmail.com //Web: www.DotNumerics.com // #endregion using System; using System.Collections.Generic; using System.Text; namespace DotNumerics.Optimization { /// /// Evaluates the function to be minimized. /// /// Vector of length N at which point the function is evaluated, where N id the dimension of the problem. /// The computed function value at the point X. public delegate double OptMultivariateFunction(double[] X); ///// ///// Evaluates the function to be minimized and the gradient. ///// ///// Vector of length N at which point the function is evaluated, where N id the dimension of the problem. ///// The computed function value at the point X. ///// The computed gradient value at the point X. //public delegate void MinimizationFunctionAndGradient(double[] X, ref double function, double[] gradient ); /// /// Evaluates the gradient of the function to be minimized. /// /// Vector of length N at which point the function is evaluated, where N id the dimension of the problem. /// The gradient of the function to be minimized. public delegate double[] OptMultivariateGradient(double[] X); }