Function Grapher Ragnarok
This script contains a function that allows you to easily sort a list by multiple columns in ascending and descending order similar in function to the ORDER BY clause in SQL.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): SQL-like ORDER BY function for lists Download |
This function takes a number (integer or float) and returns a string with the integer portion grouped by thousands and the decimal portion rounded or padded to given number of decimal places.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Number Format function Download |
protect_utf8 is a function decorator that can prevent naive functions from breaking UTF-8. If the wrapped function takes a string, and that string happens to be valid UTF-8, converts it to a unicode object and call the wrapped function. If a conversion was done and if a unicode object was...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): ProtectUTF8 Download |
This function decorates a function with tail call optimization. It does this by throwing an exception if it is it's own grandparent, and catching such exceptions to fake the tail call optimization. This function fails if the decorated function recurses in a non-tail contexif the de />
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): Tail Call Optimization Decorator Download |
The function's algorithm uses Gaussian integer factorization and variable precision integers. Requirements: - MATLAB 7.8 or higher
Platforms: Windows, Mac, *nix, Matlab, BSD Solaris
License: Freeware | Download (56): Sumsqint Download |
The kfgetpostsbyhits() function can be called anywhere from inside the template. InstallationUnpack and upload it to the /wp-content/plugins/ directory.Activate the plugin through the 'Plugins' menu in WordPress. Requirements: - WordPress 2.7 or higher
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (56): KF most read Download |
This function solves the mixed integer linear programming problems. It uses the linprog.m function that comes with the optimization toolbox of MATLAB. It employs the branch and bound algorithm. It uses depth first search
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (56): mixed-integer LP Download |
A recursive function to get permutation of a list script allows you to make permutation on a list of objects. The script does not work on repeated items in the list.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): A recursive function to get permutation of a list Download |
A simple function to copy figure from MATLAB into MS Word automatically. It is a modification of saveppt (a function in File exchange) that save figures to MS Powerpoint.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (55): save2word Download |
In functional programming, currying is a way to bind arguments with a function and wait for the rest of the arguments to show up later. You "curry in" the first few parameters to a function, giving you a function that takes subsequent parameters as input and calls the original with all of those...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): Associating parameters with a function Download |
This script allows a user to place debug messages, error messages and standard messages throughout a program. The function name and line number will be added to each debug and error message before it is printed out. In addition, each of these messages can be passed to multiple handler objects...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): Debug statements include function name Download |
This function generates a Timeseries file which can be used for Moore FSM coverage analysis.The file is generated in the working directory and can be opened into the Workspace for use by MATLAB, or read directly into Simulink using the 'Import Data From File' source block.The generated Timeseries...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (54): Function to generate Timeseries file to use for Moore FSM coverage analysis. Download |
The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also support callbacks due to signals or regular timeouts. libevent is meant to replace the event loop found in event...
Platforms: Windows, Mac, *nix, C/C++, BSD Solaris
License: Freeware | Download (54): libevent 1.3b Download |
This is achieved through the job_queue_add() function.Modules can allow jobs to be prioritized by function. The hook hook_job_queue_functions() defines functions to prioritize. A priority, from -10 to 10, determines which jobs get priority over others.InstallationUnpack in your modules folder...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (54): Job queue 6.x-3.0 / 5.x-3.0 Download |
This script presents you the tools for easy and stable recursion of current function when only selected arguments have to be changed. No more mixup of argument positions/names. No more forgetting. Useful as well for realizing delayed/repeated/serialized function calls.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): Automatic Recursion Download |
It achieves this through a function called myakismetcount();InstallationUnpack and upload it to the /wp-content/plugins/ directory.Activate the plugin through the 'Plugins' menu in WordPress. Requirements: - WordPress 2.0.2 or higher
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (54): Show Akismet Count as Plain Text Download |
In order to use it, the function jp_bct(); must be called.Options are 'root', 'showhome', 'before', 'after', 'divider', 'eachlink', 'current' and 'homename' (all optional).InstallationUnpack and upload it to the /wp-content/plugins/ directory.Activate the plugin through the 'Plugins' menu in...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (54): Bread Crumb Trail Generator 1.1 Beta Download |
A GENERALAZED CONVOLUTION COMPUTING CODE IN MATLAB WITHOUT USING MATLAB BUILTIN FUNCTION conv(x,h)
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (54): CONVOLUTION IN MATLAB WITHOUT USING conv(x,h) Download |
An animated simulation of Particles in 2D searching for a global minima of a simple function using Particle Swarm Optimization algorithm
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (54): Particle Swarm Optimization Simulation Download |
Function for pricing basket option using Monte Carlo Simulation. You can specify if you want an American option. For American options, it follows LMS algorithm. You can choose to specify Averaging date, Average Price, Average type etc. asianbasket.m and europeanbasket.m are the files for pricing....
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (54): Pricing Basket Option Download |