Function Value Finder
Sometimes inside a decorator that creates a function with a generic (*args, **kwargs) signature, you want to access a value passed for a particular parameter name to a wrapped function, but don't know whether that value will be passed as a positional or keyword argument, or whether the wrapped...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Finding the value passed to a function by name Download |
In order to optimize any MATLAB function, there are two options: 1) rewrite the function to take only 1 array of inputs, reading all others from a file, perhaps, or from a global variable (undesirable), or 2) write an interface layer that handles this.This function provides an interface layer...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Generalized Objective Function Download |
Search::Binary is a Perl module for generic binary search. SYNOPSIS use Seach::Binary; $pos = binary_search($min, $max, $val, $read, $handle, [$size]); binary_search implements a generic binary search algorithm returning the position of the first record whose index value is greater than or...
Platforms: *nix
License: Freeware | Size: 2.05 KB | Download (105): Search::Binary Download |
hashit is a generic hash library. hashit implements diverse collision handling methods. This function creates a hash table which is returned as a hash_t type. errno is set to ENOMEM if there wasnt enough memory avaliable for creating the table. Return value is a reference to the table just...
Platforms: *nix
License: Freeware | Size: 28.67 KB | Download (95): hashit Download |
This class provides thunk-like behavior in standard Python. It allows a function to be evaluated only when needed, and the return value cached, or memoized, until explicitly deleted.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): A lazy, memoized attribute space Download |
MLDBM::TinyDB is a Perl module that can help you to create and manipulate structured MLDBM tied hash references. SYNOPSIS use MLDBM::TinyDB; ## or use MLDBM::TinyDB qw/db add_common/; @common = qw/created updated/; ## optional $tree = [TABLE, FIELDS_LIST, [TABLE1, FIELDS_LIST1,...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (92): MLDBM::TinyDB Download |
The Particle Swarm Optimization Research Toolbox was written to assist with thesis research combating the premature convergence problem of particle swarm optimization (PSO). The control panel offers ample flexibility to accommodate various research directions. After specifying your intentions,...
Platforms: Matlab
License: Freeware | Size: 1.92 MB | Download (42): Particle Swarm Optimization Research Toolbox Download |
This is a large set of test functions, which may be used to test the effectiveness of global optimization algorithms. Some are rather easy to optimize (rosenbruck, leon, ...), others next to impossible (crosslegtable, bukin6, ...).All the test-functions are taken from either [1], [2] or [3] (see...
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (44): Many testfunctions for global optimizers Download |
SIMPGRIDSEARCH Multi-dimensional unconstrained nonlinear minimization using grid search + Simplex method. X = SIMPGDSEARCH(OBJFUN,GDVALUES) returns a vector X that is a minimizer of the function described in OBJFUN (usually an m file: OBJFUN.M).See OBJFUN_DEMO.M for how to write an objective...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): SIMPGDSEARCH Download |
Dll Export Finder is a lightweight and useful utility that allows you to locate the DLL that includes an exported function or an API. Dll Export Finder finds functions exported by dll in a specified directory. This is the tool you need if you don't remember in which dll is located the exported...
Platforms: Windows, Windows Vista, 7
License: Freeware | Download (53): Dll Export Finder Download |
This simple m-file plots the Soft Handover probability as a function of the Soft Handover Threshold value used in the UTRA Soft Handover Algorithm. The relationship has been dertived by taking the ratio between the Cell area where Soft Handovers are enabled and the total Cell area.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Soft Handover Probability as a function Download |
The function shows the text string S and prompt the user for an input value guaranteing that the input value is numdoTeric.When the value is not numdoTeric the function gives an error mensage and prompts for a new value until it is numeric.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Robust function for only numeric values input Download |
The QM Momentum Expectation Value program displays the time evolution of the position-space wave function and the associated momentum expectation value. The default wave function is a Gaussian wave packet in a harmonic oscillator. Additional states and other potential energy functions can be...
Platforms: Mac
License: Freeware | Size: 51.2 KB | Download (35): QM Momentum Expectation Value Download |
The QM Position Expectation Value program displays the time evolution of the position-space wave function and the associated position expectation value. The default wave function is a two-state superposition of infinite square well states. Additional states and other potential energy functions...
Platforms: Mac
License: Freeware | Size: 51.2 KB | Download (34): QM Position Expectation Value Download |
This button enables you to copy the POSIX path of one or more Finder items to the clipboard. Drag Copy Path.app to your applications folder or elsewhere and from there to Finder's toolbar. Snow Leopard users might want, alternatively, to download CopyPaths Service from my site - the same function...
Platforms: Mac
License: Freeware | Size: 102.4 KB | Download (368): Copy Path Finder Button for Mac OS Download |
The function printexpr() takes a Python expression, and prints it's value, and the filename and line from which printexpr() is called. This script is useful when debugging programs.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (50): Print an expression and its value Download |
In most languages with closures, it is possible to change a closed-over value and have the change visible in other closures which share a reference to the same variable. Python's syntax makes this impossible. Putting your changeable values inside a mutable object like a list-- it may occasionally...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): Changing a closed-over value Download |
This script contains a function that finds out the gcd(a,b)(great common divisor of a and b) as a linear conbination of a anb b, ax by=gcd(a,b).
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Extended great common divisor function Download |
There are two issues with the Pearson type IV distribution: (I) the complex gamma function entering the normalization constant in the probability density function (pdf) and (II) the complex Gauss hypergeometric function entering the cumulative distribution function (cdf). For the complex gamma...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): In sample Value at Risk and backtesting with the Pearson type IV distribution Download |
It's a simple function. Can help you find peak value from a lot of datas. It contains some demos.It's my first time to submit file, thanks for your using.
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (49): Find Peak Value Download |