Bootstrap Method Example
The fees and discounts will be displayed to the customer during the checkout process with small print underneath the payment method.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 5.x - Drupal...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (49): Ubercart Payment Method Adjustments 5.x- Download |
The fees and discounts will be displayed to the customer during the checkout process with small print underneath the payment method.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 5.x - Drupal...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (55): Ubercart Payment Method Adjustments 5.x- Download |
This script implements the instance method for performing currying. Instance method provides a way to perform currying such that the curried function runs much faster than one produced by closure. Currying is an important technique to build callables on the fly and is well covered in other...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): High-performance currying with instance method Download |
This script is an example of how to use the winreg module. The code had the first purpose of demonstrating the concept of a graphical shell built in Python. The shell was easily modified to make use of the Window's registry but retains traces of its original method of operation.
Platforms: Windows, Python,
License: Freeware | Download (51): Example For winreg Download |
Decorator for main method script shows how to do the same thing with a decorator that makes the code much cleaner.This allows option and argument parsing to be hidden from the main code in your program. The user simply passes an optional getopt string and the number of required arguments. Then...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): Decorator for main method Download |
This scripts shows you how to obtain the name of a method or a function from within the running method/function.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Obtaining the name of a function/method Download |
This script adds parameter type checking to each method or function invocation.It is not a replacement for static typing.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Method signature checking decorators Download |
Proxy Example script demonstrates how to build a proxy object.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (50): Proxy Example Download |
This script uses __getattr__ to modify the error messages given when a wrong class method is called. It shows the first five ranked most similar method names, followed by the first line of their docstrings (this is useful to see their parameters, if you use this convention in your sources), and...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Right method names suggestion Download |
This script is a class whose objects can handle undefined method calls, passing them on to a default handler.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Class with default method handler Download |
This script provides a context manager that allows the user to specify a method on the passed-in object to be called when the 'with' statement is exited. This is a generalization of contextlib.closing.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Method call when exit "with" statement Download |
This example shows how to implement a Listbox control into your applications.It also shows how to add, delete, kill duplicates and search for an item. & add, delt;
Platforms: C and C plus plus
License: Freeware | Size: 10 KB | Download (50): Listbox Example Download |
Windows Animation Example code shows you how to make animation in C .
Platforms: C and C plus plus
License: Freeware | Size: 20.48 KB | Download (54): Windows Animation Example Download |
Play Wav File Example shows how to play a .wav file through your application and the different options (SYNC, ASYNC, LOOP).
Platforms: C and C plus plus
License: Freeware | Size: 10 KB | Download (70): Play Wav File Example Script Download |
The program computes the tie lines, the operating and mixing points and the number of equilibrium stages using the Hunter and Nash graphical method of a liquid-liquid extraction problem. One feed of acetic acid (35 wt %) in water which flow rate = 1000 kg/hr is extracted using a solvent...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (44): Hunter and Nash Graphical Equilibrium Stage Method Download |
Golden section method - searching for minimum of the function on given interval files:golden.m - main algorithm, computing minimum on intervalf.m - given function - file to modify by the user!
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): golden section method algorithm Download |
This is the fastest (though not most accurate) method of fitting a circlle to data points on a plane (given by their xy-coordinates). It returns the circle center (a,b) and radius R. It was proposed by I. Kasa in article "A curve fitting procedure and its error analysis", IEEE Trans. Inst. Meas.,...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Circle Fit (Kasa method) Download |
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 simplex method-step_size: initial dimension of...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Simple example of the Simplex Method Download |
Numerical integration with Monte Carlo method (on FPGA chip).Requirements:- Matlab/Simulink- Diamond IDE (3L)- FPGA Xilinx VIrtex II (SMT8036E) http://www.sundance.com/web/files/static.asp?pagename=uni_offer_1)- Visual Studio (Optional)- Xilinx System Generator (Recommended)- Xilinx ISE...
Platforms: Matlab
License: Freeware | Size: 20.57 MB | Download (50): NUMERICAL INTEGRATION WITH MONTE CARLO METHOD ON FPGA BOARD Download |
This script is capable of solving a convex quadratic programming problem by Wolf's method. For the convergence of the algorithm it is necessary that either Hessian of the objective function be positive definite or positive semidefinite Hessian with linear term zero. For theory of Wolf method and...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Quadratic programming by Wolf's method Download |