NumeritDownload | GSL | Testimonials | Contact Us | tinySpell 
Version 1.7 (revision 1.7.111)
Sample Programs
The programs listed in the following table are sample Numerit programs. Most of them are related to mathematical and scientific programming but, as you can see from the list, Numerit is also used for developing more general purpose programs.
The sample programs are included in the Numerit package that you have downloaded (however, some might have been added or updated after the last version was released).
Note: Some of the programs are beyond the capabilities of the Evaluation Edition. These programs are already compiled and ready to run so they may run in the Evaluation Edition but cannot be modified and recompiled.

Click on the program's name in the Download column to download a program (if this doesn't let you save the program, right-click on the name and select: Save Target As..., or Save Link As..., or any similar command that your browser provides).
Program Download
Ordinary Differential Equations - Gnu Scientific Library (GSL)
The program demonstrates a dynamic-link library (DLL) call:
Ordinary differential equations - from the Gnu Scientific Library.
gsl-ode.num
Histogram - Gnu Scientific Library (GSL)
The program demonstrates a dynamic-link library (DLL) call:
Histograms - from the Gnu Scientific Library.
gsl-histogram.num
Histograms of various probablity distributions
The program generates random sequences with Uniform, Exponential, and Normal (Gaussian) probability distributions and displays histograms of them.
prob-hist.num
A pseudo-color image
The program shows how to define a color table for displaying pseudo-colors images.
pseudo-color.num.num
Two-dimesional interpolation of an image
The program defines a two-dimensional interpolation function. It then uses this function to magnify an image by a factor of four with minimum degradation in image quality.
Note that in addition to the program itself you need also to download the image (lizard.bmp) and save it in the same directory.
interp2d.num
lizard.bmp
Life
An implementation of the well known Game of Life, invented by the mathematician John Conway. The program uses an Image viewer to display an animated view of the game’s 2-dimensional playground.
life.num
Table viewer
The program demonstrates a Table viewer with formatted titles.
table.num
Monthly work sheet
This program creates a simple one-line-per-day work sheet for the given month and year. The sheet has a month/year title and each line has a date and day titles with room for a comment. Weekend days are marked. The sheet is intended to be used in its printed form.
The program includes an algorithm for calculating the day of the week for any given date taking into account leap years.
month sheet.num
Gravitation
A simulation of two bodies thrown in the air at a certain velocity and launching angle. The bodies fall down in a ballistic trajectory.
grav.num
Lissajous Figures
A simple program that generates Lissajous patterns and displays an animated view of them.
lissa.num
Fourier Series
Fourier series are demonstrated by building a square wave and a sawtooth wave as sums of sine waves. We see how adding more terms to the sum gets us closer to the desired wave forms.
fours.num
Fourier Transform
We use the fast Fourier transform (FFT) to calculate the spectrum of a simple sine wave, a sum of two sine waves, and a decaying sine wave. The user can change the frequency, the decay rate, and other parameters and see how they affect the results.
fft.num
Correlation of Noisy Signals
Correlation of noisy signals is demonstrated using the fast Fourier transform (FFT) algorithm. We show how important it is to correctly filter the signals before calculating the correlation.
corr.num
Towers of Hanoi
A recursive algorithm is demonstrated by showing a solution to the well known game - the Towers of Hanoi.
hanoi.num
Nonlinear fit
An implementation of the Levenberg-Marquardt algorithm is used to demonstrate fitting of experimental data to a given model. The model we use in this example is a sum of three Gaussians with variable positions, amplitudes, and widths.
nlfit.num
Polynomial fit
Fitting a polynomial to a set of data points.
fitpoly.num
General linear least squares fit
Fitting a set of basis functions to a set of data points.
fitbasis.num
Fit
Fitting polynomials of various degrees and a Gaussian to a random set of points.
fit.num

Copyright © 2020 KEDMI Scientific Computing. All Rights Reserved.
Home
About Numerit
What's New
Products
Ordering
Download
Updates
Applications
Samples
Demos
Numerit-GSL
Users Say
Contact Us