Download data/DWSIM.Math.DotNumerics/Optimization/MinimizationDelegates.cs from introvoyz041/Dwsim: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/datasets/introvoyz041/Dwsim/resolve/main/data/DWSIM.Math.DotNumerics/Optimization/MinimizationDelegates.cs
- Command line
-
hf download hf://datasets/introvoyz041/Dwsim/data/DWSIM.Math.DotNumerics/Optimization/MinimizationDelegates.cs
-
curl -L -o MinimizationDelegates.cs https://huggingface.co/datasets/introvoyz041/Dwsim/resolve/main/data/DWSIM.Math.DotNumerics/Optimization/MinimizationDelegates.cs
1.62 kB
| | |
| //Copyright © 2009 Jose Antonio De Santiago-Castillo | |
| //E-mail:JAntonioDeSantiago@gmail.com | |
| //Web: www.DotNumerics.com | |
| // | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| namespace DotNumerics.Optimization | |
| { | |
| /// <summary> | |
| /// Evaluates the function to be minimized. | |
| /// </summary> | |
| /// <param name="X">Vector of length N at which point the function is evaluated, where N id the dimension of the problem.</param> | |
| /// <returns>The computed function value at the point X.</returns> | |
| public delegate double OptMultivariateFunction(double[] X); | |
| ///// <summary> | |
| ///// Evaluates the function to be minimized and the gradient. | |
| ///// </summary> | |
| ///// <param name="X">Vector of length N at which point the function is evaluated, where N id the dimension of the problem.</param> | |
| ///// <param name="function">The computed function value at the point X.</param> | |
| ///// <param name="gradient">The computed gradient value at the point X.</param> | |
| //public delegate void MinimizationFunctionAndGradient(double[] X, ref double function, double[] gradient ); | |
| /// <summary> | |
| /// Evaluates the gradient of the function to be minimized. | |
| /// </summary> | |
| /// <param name="X">Vector of length N at which point the function is evaluated, where N id the dimension of the problem.</param> | |
| /// <returns>The gradient of the function to be minimized.</returns> | |
| public delegate double[] OptMultivariateGradient(double[] X); | |
| } | |