Powered by OpenAIRE graph
Found an issue? Give us feedback
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/ ZENODOarrow_drop_down
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Software . 2018
Data sources: Datacite
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Software . 2018
Data sources: ZENODO
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
HAL - CNAM
Software . 2018
Data sources: HAL - CNAM
versions View all 2 versions
addClaim

gradFD - a MATLAB/OCTAVE's class for computing gradients and hessians of a function using finite differences

Authors: Laurent, Luc;

gradFD - a MATLAB/OCTAVE's class for computing gradients and hessians of a function using finite differences

Abstract

gradFD is a MATLAB/OCTAVE's class which can be used for computing the derivatives and hessians of a function using finite differences. Many schemes have been implemented. Notice that the hessian computation remains incomplete and needs to be improved. Features gradFD is able to Compute derivatives with the following schemes forward and backward finite differences of order 1 to 5 (BDx and FDx with x={1,...,5}) central finite differences of order 2 to 8 (CDx with x={2,4,6,8}) Minimize the number of computations (especially the responses at the central points is done only one time) Use a specific stepsize in every direction Generate the set of sample points which can be used externally for computing responses. These responses can be loaded by the class in order to compute the gradients. First start Many example script have been proposed Example_basic_gradFD.m: basic example of a classical use of the class Example_external_gradFD.m: example of use of the external feature Example_plot1D_gradFD.m: plot derivatives compute on 1D function with the class Example_plot2D_gradFD.m: plot derivatives compute on 2D function with the class Example_error_gradFD.m: study of the error on derivatives vs the stepsize The following picture is the result of the execution of the Example_plot2D_gradFD.m script: The following picture is the result of the execution of the Example_error_gradFD.m script: Use of the class The class could be called using the following syntax gradFD(typeIn,XrefIn,stepsIn,funIn) where typeIn is the chosen scheme (the full list of finite difference schemes is available via the execution of gradFD with no option or via the method displaySchemes). XrefIn is the array of points on which the gradient must be calculated. stepsIn is the list of stepsizes used in every direction and/or every point. funIn is the handle function (defined using @()) [optional] If all these arguments are given to the class the gradients are calculated directly and stored in the property GZeval. In the case of an external computation of the responses, the sample points can be exported usind the property XevalG and the responses computed externally can be loaded using the method loadZextG (see for instance the example Example_external_gradFD.m)

Country
France
Keywords

gradient, gradients, derivatives, [MATH.MATH-OC] Mathematics [math]/Optimization and Control [math.OC], [MATH.MATH-GM] Mathematics [math]/General Mathematics [math.GM], [MATH.MATH-NA] Mathematics [math]/Numerical Analysis [math.NA], finite-difference, optimization, finite-differences, Matlab

  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
    OpenAIRE UsageCounts
    Usage byUsageCounts
    visibility views 6
    download downloads 1
  • 6
    views
    1
    downloads
    Powered byOpenAIRE UsageCounts
Powered by OpenAIRE graph
Found an issue? Give us feedback
visibility
download
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
views
OpenAIRE UsageCountsViews provided by UsageCounts
downloads
OpenAIRE UsageCountsDownloads provided by UsageCounts
0
Average
Average
Average
6
1