Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.335.609 Times

Fibonacci sequence using generators 1.0

  Date Added: May 10, 2013  |  Visits: 441

Fibonacci sequence using generators

Report Broken Link
Printer Friendly Version


Product Homepage
Download (58 downloads)



Generators, introduced in Python 2.2, can be used to work with infinite sets. This script is a simple example of a generator that creates the Fibonacci sequence.Running this produces the following result:c:python22>python fib.py1 1 2 3 5 8 13 21 34

Requirements: No special requirements
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python , BSD Solaris
Keyword: Algorithm Fibonacci Fibonacci Algorithm Fibonacci Numbers Fibonacci Sequence Sequence
Users rating: 0/10

License: Freeware
USER REVIEWS
More Reviews or Write Review


FIBONACCI SEQUENCE USING GENERATORS RELATED
Libraries  -  Algorithm::NeedlemanWunsch 0.02
Algorithm::NeedlemanWunsch is a sequence alignment with configurable scoring. SYNOPSIS use Algorithm::NeedlemanWunsch; sub score_sub { if (!@_) { return -2; # gap penalty } return ($_[0] eq $_[1]) ? 1 : -1; } my $matcher =...
10.24 KB  
Scientific and Engineering  -  A fast prime number list generator 1.4
This is a fast prime number list generator using sieve algorithm. This function returns a list of prime numbers which are lower than a specified argument.
 
Libraries  -  Memoize 1.01
Memoize - Make functions faster by trading space for time. SYNOPSIS # This is the documentation for Memoize 1.01 use Memoize; memoize(slow_function); slow_function(arguments); # Is faster than it was before This is normally all you need...
47.1 KB  
Miscellaneous  -  Sieve of Eratosthenes 1.0
This script computes an infinite sequence of primes using simple generators. A Python dictionary is used to mark multiples of the generated primes, according to the Sieve of Eratosthenes.
 
Education  -  Tkmatrix 0.7.0
tkmatrix is an education mathematical program to manipulate matrices. Matrices are part of linear algebra. It was developed for students to learn algorithms and test own calculation. Therefore tkmatrix can give not even a solution but all...
317.44 KB  
Libraries  -  Iterator::Misc 0.03
Iterator::Misc Perl module package contains miscellaneous iterator functions. SYNOPSIS use Iterator::Misc; # Permute the elements of a list: $iter = ipermute (@items); # Select only every nth value of an iterator $iter = inth ($n,...
12.29 KB  
Miscellaneous  -  Fibonacci Object 1.0
This script shows a simple class useful to compute Fibonacci numbers. Object methods return the nth Fibonacci number, return list first n Fibonacci numbers and list from F(k) to F(n) numbers.
 
Development Tools  -  m-sequence generation program using a search algorithm 1.0
Maximum length sequence assuming distinctvalues = baseVal^powerVal-1 [ms]=mseqSearch(powerVal,baseVal) OUTPUT: ms: generated maximum length sequence, of length basisVal^powerVal-1 such that all values occur with equal frequency=basisVal except...
10 KB  
Development Tools  -  Fibonacci Search metho 1.0
This script provides the final interval of uncertainty in which the minima of single variable non linear/linear function. The function should be unimodal in the interval. The script checks the unimodality of the function.User inputs the initial...
10 KB  
Development Tools  -  General Viterbi Algorithm 1.0
General implementation of matlab version of Viterbi algorithm specifically written for gene structure finding problem in mind. However, it can be modified to suit the goal of a user.Input:Transition Probability MatrixEmission Probability...
10 KB  
NEW DOWNLOADS IN SCRIPTS, SCIENTIFIC AND ENGINEERING
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Scientific and Engineering  -  Matlab code for the Kalman filter 1.0
It will compute the Kalman gain and the stationary covariance matrix using a Kalman filter with a linear forward looking model. Requirements: - MATLAB 7 or higher
 
Scientific and Engineering  -  Manhattan Virtual Classroom 3.2
The Manhattan Virtual Classroom is a fast, stable and effective course management system that runs on Linux and other Unix-like systems.It's written entirely in the C programming language (fast! - light hardware requirements) and is 100%...
 
Scientific and Engineering  -  Extended Kalman Filter 1.0
The state space model is nonlinear and is input to the function along with the current measurement. It performs the extended Kalman filter and returns the estimated next state and error covariance. Requirements: - MATLAB 7.6 or higher
 
Scientific and Engineering  -  Light Speed! 1.2-5 1.0
Light Speed! is an OpenGL-based program which illustrates the effects of special relativity on the appearance of moving objects. When an object accelerates past a few million meters per second, these effects begin to grow noticeable, becoming more...
 
Scientific and Engineering  -  Sea surface 1.0
It uses the Pierson-Moskowitz spectrum for the frequency/wave-number dependency and four different types of angular spreading like cosinus-squared, Mitsuyasu, Hasselmann and none. Requirements: - MATLAB 7 or higher