GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MATH::GSL::MIN (3)

.ds Aq ’

NAME

Math::GSL::Min - 1-D Minimization

CONTENTS

SYNOPSIS



    use Math::GSL::Min qw/:all/;
    use Math::GSL::Const qw/$M_PI/;

    my $m = gsl_min_fminimizer_alloc($gsl_min_fminimizer_goldensection);

    gsl_min_fminimizer_set_with_values($m,
        sub { cos($_[0]) },
        3, cos(3),
        0, cos(0),
        2*$M_PI, cos(2*$M_PI)
    );
    my $status  = gsl_min_fminimizer_iterate($m);

    my $x_min   = gsl_min_fminimizer_x_minimum($m);
    my $x_lower = gsl_min_fminimizer_x_lower($m);
    my $x_upper = gsl_min_fminimizer_x_upper($m);

    my $f_min   = gsl_min_fminimizer_f_minimum($m);
    my $f_lower = gsl_min_fminimizer_f_lower($m);
    my $f_upper = gsl_min_fminimizer_f_upper($m);



DESCRIPTION

Here is a list of all the functions in this module :
o gsl_min_fminimizer_alloc($type)
o gsl_min_fminimizer_free

Don’t call this function explicitly. It will be called automatically in DESTROY for fminimizer.

o gsl_min_fminimizer_set

Don’t apply this function twice to the same fminimizer. It will cause a memory leak. Instead of this you should create new fminimizer.

o gsl_min_fminimizer_set_with_values

Don’t apply this function twice to the same fminimizer. It will cause a memory leak. Instead of this you should create new fminimizer.

o gsl_min_fminimizer_iterate($m)
o gsl_min_fminimizer_name
o gsl_min_fminimizer_x_minimum($m)
o gsl_min_fminimizer_x_lower($m)
o gsl_min_fminimizer_x_upper($m)
o gsl_min_fminimizer_f_minimum($m)
o gsl_min_fminimizer_f_lower($m)
o gsl_min_fminimizer_f_upper($m)
o gsl_min_fminimizer_minimum($m)
o gsl_min_test_interval($m)
o gsl_min_find_bracket($m)
This module also includes the following constants :
o $gsl_min_fminimizer_brent
o $gsl_min_fminimizer_goldensection
For more informations on the functions, we refer you to the GSL offcial documentation: <http://www.gnu.org/software/gsl/manual/html_node/>

AUTHORS

Jonathan Duke Leto <jonathan@leto.net> and Thierry Moisan <thierry.moisan@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2008-2014 Jonathan Duke Leto and Thierry Moisan

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MATH::GSL::MIN (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.