Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.054.367 Times

Math::Amoeba 0.04

  Date Added: September 25, 2010  |  Visits: 845

Math::Amoeba

Report Broken Link
Printer Friendly Version


Product Homepage
Download (78 downloads)

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.

Requirements: No special requirements
Platforms: Linux
Keyword: Array Constructvertices Evaluatevertices Function Libraries Mathamoeba Minimisend Minimum Multidimensional Function Minimization Parameters Programming Reference Reference To Vertices
Users rating: 0/10

License: Freeware Size: 4.1 KB
MATH::AMOEBA RELATED
Development Tools  -  Simple example of the Simplex Method 1.0
It's a function that finds the minimum value of a two variables objective function with a deterministic zero order algorithm: simplex method. The input variables are:-fun: inline function of the objective function-init_point: initial point for the...
10 KB  
Miscellaneous  -  PHP i18n 1.0.0a
PHP i18n is a PHP framework and function libraries to do internationalization (i18n) and localization of your PHP web sites.
40.96 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB  
Libraries  -  Devel::CallerItem 1.0
Devel::CallerItem is an Perl object representing a function call from the stack of function calls. SYNOPSIS Usage: require Devel::CallerItem; $call = Devel::CallerItem->from_depth($depth) || return; $passed_arguments_ref =...
4.1 KB  
Multimedia & Graphics  -  Function Plot 2D New
Function Plot 2D is a small, simple, Java based application specially designed to help you create function plots. Function Plot 2D lets you create a 2D plot, all you need to do is give an input function. for WindowsAll
 
Multimedia & Graphics  -  Function Plot 2D with Sections New
Function Plot 2D with Sections is a small, simple, Java based application specially designed to help you create function plots. Function Plot 2D lets you create a 2D plot, all you need to do is give an input function. for WindowsAll
 
Miscellaneous  -  Obtaining the name of a function/method 1.0
This scripts shows you how to obtain the name of a method or a function from within the running method/function.
 
Miscellaneous  -  Extract a inner function from a class 1.1
This function can extract a inner function from a class or a function. It may be useful when writing a unit test code.
 
Miscellaneous  -  PHP i18n .0a 1.0
PHP i18n is a PHP framework and function libraries to do internationalization (i18n) and localization of your PHP web sites.
 
Health & Fitness  -  Vitamins for Wellness 1.0.0.1
The body needs a minimum amount of vitamins and minerals each day to remain healthy and function properly. A balanced diet normally supplies sufficient vitamins. However, serious disorders can still develop if the diet does not meet your body's...
1024 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB