Example Of C Programme
This script will automatically return the next integer. It starts with 0. This is an example of how to make a generator and how to make a callable object.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): Auto Incrementer Example of __call__ and yield Download |
This example shows how to load a C DLL into Matlab and make a call to functions it contains. In addition, a C-like M file implementation of the same functionality is included for comparison. Furthermore, a vectorized M file has been added to try to match the performance of the library...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Example of loading C DLL and performance comparison Download |
C++ XML Objects is a framework for persisting hierarchies of C++ objects to and from XML. Boost, The STL and Patterns are used extensively. All platforms which support Boost will be supported. Sometimes there is a need to save hierarchies of C++ objects to a file (or DB etc), and then retrieve...
Platforms: *nix
License: Freeware | Size: 409.6 KB | Download (90): C++ XML Objects Download |
This script is a Python implementation of few lines of C-code that get useful information about current working console on Windows. It may be useful for console application to proper formatting output. Recipe need ctypes package to be installed. When use handle of stdout for determining size of...
Platforms: Windows, Python,
License: Freeware | Download (51): Determine size of console window Download |
Demo-version of Satellite Map of Zurich is an example of how a person living in a megapolis today can use space technologies. A Quick Bird satellite shot is used as the cartographic basis. Face the reality! Your dreams are coming true with satellite maps from Transnavi.com. In the demo-version...
Platforms: Windows
License: Freeware | Size: 18.76 MB | Download (721): Transnavicom Satellite Map of Zurich Download |
Java::Import::Examples is an example of how to use Java::Import to call into Java classes. Making RMI calls from Perl One nice thing about Java is the extremely straight forward manner in which it allows you to make calls to remote objects residing on distant servers. Many people use this...
Platforms: *nix
License: Freeware | Size: 28.67 KB | Download (106): Java::Import::Examples Download |
Instant is a Python module that allows for instant inlining of C and C++ code in Python. Instant is a small Python module built on top of SWIG. Example of use: >>> c_code = """ double sum(double a, double b){ return a+b; } """ >>> import Instant >>> ext = Instant.Instant() >>> >>> #...
Platforms: *nix
License: Freeware | Size: 34.82 KB | Download (96): Instant Download |
Langtons Ant project is an example of a finite-state cellular automata. The ant (or ants) start out on a grid. Each cell is either black or white. If the ant is on a black square, it turns right 90° and moves forward one unit. If the ant is on a white square, it turns left 90° and moves...
Platforms: *nix
License: Freeware | Size: 35.84 KB | Download (130): Langtons Ant Download |
This is a package of C++ classes intended to be used for evaluation of C-syntax expression strings. It is intended to be as simple as possible, portable and not depending on other libraries.
Platforms: Windows, Mac, Linux
License: Freeware | Size: 20.69 KB | Download (47): CExEv C Expression Evaluator in C++ Download |
if else example is a basic example of an if then else control structure.
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (60): if else example Download |
Breadth first traversal of tree script is an example of the self-recursive generators. The first argument should be the tree root; children should be a function taking as argument a tree node and returning an iterator of the node's children.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Breadth first traversal of tree 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 |
Xerces-C++ is a validating XML parser written in a portable subset of C++. Xerces-C++ makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents using the DOM, SAX, and SAX2 APIs....
Platforms: C and C plus plus
License: Freeware | Size: 7.1 MB | Download (51): Apache Xerces C++ XML Parser 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 |
The self-contained script demonstrates excess, volatility driven growth, in a rebalanced portfolio.Based on the paper "Benchmarking and Rebalancing" by Gabay and Herlemont, yats.com, 19 Septembre 2007, this script reproduces example 1, showing the long-term rebalancing excess growth rate g*.There...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Example of Volatility Pumping Download |
This is an end to end example of how to use Builder NE (.NET Builder) to create a full web application that utilizes data and WebFigures to display MATLAB Figurues on the Web in an interactive way.This example shows the "Magic Square" function in MATLAB where a user can specify the size of the...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (47): DotNet Web Example Guide End To End Chapter Download |
This is the first example of Computational Physics, Modeling and Simulating a Physical SystemsEx1: Kepler's Laws
Platforms: Matlab
License: Freeware | Size: 337.92 KB | Download (41): Computational Physics - Example No.1 Download |
This zip file contains an example of some resources to help engineering students learn MATLAB. They comprise a flash file with voiceover (select player.html to run this) which will discuss some of the m-files also included. The example included is for an introduction to control, but there are...
Platforms: Matlab
License: Freeware | Size: 4.53 MB | Download (40): Getting started with MATLAB (control engineering example) Download |
This is an end to end example of how to use Builder JA (Java Builder) to create a full web application that utilizes data and WebFigures to display MATLAB Figurues on the Web in an interactive way.This example shows the "Magic Square" function in MATLAB where a user can specify the size of the...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (44): Java Web Example Guide End To End Chapter Download |
Case of study: "Capacity Energy Storage Solution".Dual problem of SMES, replacing inductors with capacities.
Platforms: Matlab
License: Freeware | Size: 849.92 KB | Download (45): Simple Example of Simulated Annealing Optimization Download |