Main > Programming > Libraries >

Math::Amoeba 0.04

Math::Amoeba 0.04

Sponsored Links

Math::Amoeba 0.04 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.004 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 803
Date added: 2007-08-14

Math::Amoeba 0.04 description

Math::Amoeba is a Multidimensional Function Minimization.

SYNOPSIS

use Math::Amoeba qw(ConstructVertices EvaluateVertices Amoeba MinimiseND);
my ($vertice,$y)=MinimiseND(@guess,@scales,&func,$tol,$itmax,$verbose);
my @vertices=ConstructVertices(@vector,@offsets);
my @y=EvaluateVertices(@vertices,&func);
my ($vertice,$y)=Amoeba(@vertices,@y,&func,$tol,$itmax,$verbose);

This is an implementation of the Downhill Simpex Method in Multidimensions (Nelder and Mead) for finding the (local) minimum of a function. Doing this in Perl makes it easy for that function to actually be the output of another program such as a simulator.

Arrays and the function are passed by reference to the routines.

The simplest use is the MinimiseND function. This takes a reference to an array of guess values for the parameters at the function minimum, a reference to an array of scales for these parameters (sensible ranges around the guess in which to look), a reference to the function, a convergence tolerance for the minimum, the maximum number of iterations to be taken and the verbose flag (default ON). It returns an array consisting of a reference to the function parameters at the minimum and the value there.

The Amoeba function is the actual implementation of the Downhill Simpex Method in Multidimensions. It takes a reference to an array of references to arrays which are the initial n+1 vertices (where n is the number of function parameters), a reference to the function valuation at these vertices, a reference to the function, a convergence tolerance for the minimum, the maximum number of iterations to be taken and the verbose flag (default ON). It returns an array consisting of a reference to the function parameters at the minimum and the value there.

The ConstructVertices is used by MinimiseND to construct the initial vertices for Amoeba as the initial guess plus the parameter scale parameters as vectors along the parameter axis.

The EvaluateVertices takes these set of vertices, calling the function for each one and returning the vector of results.

EXAMPLE

use Math::Amoeba qw(MinimiseND);
sub afunc {
my ($a,$b)=@_;
print "$at$bn";
return ($a-7)**2+($b+3)**2;
}
my @guess=(1,1);
my @scale=(1,1);
($p,$y)=MinimiseND(@guess,@scale,&afunc,1e-7,100);
print "(",join(,,@{$p}),")=$yn";

produces the output

(6.99978191653352,-2.99981241563247)=1.00000008274829

Math::Amoeba 0.04 Screenshot

Advertisements

Math::Amoeba 0.04 Keywords

Bookmark Math::Amoeba 0.04

Hyperlink code:
Link for forum:

Math::Amoeba 0.04 Copyright

WareSeeker periodically updates pricing and software information of Math::Amoeba 0.04 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Math::Amoeba 0.04 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
mediadbs is a digital media database system. Free Download
Amoeba is xml based rapid web development enviroment written entirely in Java. Free Download
Math::Cephes is a Perl interface to the cephes math library. Free Download
Math::Vec is a Object-Oriented Vector Math Methods in Perl. Free Download
Perl6::Gather is a Perl module that implements the Perl 6 gather/take control structure in Perl 5. Free Download
Data::Startup is a Perl module with startup options class, override, config methods. Free Download
Math::MagicSquare is a Magic Square Checker and Designer. Free Download
PLJava is Perl module that will embed Perl into Java. Free Download