|
|
libcats.org
Recursion via PascalRohlThis book is devoted to recursion in programming, the technique through which the solution to a problem is expressed partly in terms of the solution to a simpler version of the same problem. Ultimately the solution to the simplest version must be given explicitly. In functional programming, recursion has received its full due since it is quite often the only repetitive construct. However, here the programming language used is Pascal and the examples have been chosen accordingly. It therefore makes an interesting contrast with the use of recursion in functional and logic programming. The early chapters consider simple linear recursion using examples such as finding the highest common factor of a pair of numbers, and processing linked lists. Subsequent chapters move up through binary recursion, with examples which include the Towers of Hanoi problem and symbolic differentiation, to general recursion, which covers examples such as drawing the cover design of this book. The book contains well over 100 examples. Recursion via Pascal will be a useful introduction to recursion for undergraduate students of computer science in universities and polytechnics.
Популярные книги за неделю:
Система упражнений по развитию способностей человека (Практическое пособие)Автор: Петров Аркадий НаумовичКатегория: Путь к себе
Размер книги: 818 Kb
Сотворение мира (3-х томник)Автор: Петров Аркадий НаумовичКатегория: Путь к себе
Размер книги: 817 Kb
Introduction to Functional Programming (Prentice Hall International Series in Computing Science)Автор: Richard Bird, Автор: Philip WadlerКатегория: Математика, Прикладная математика
Размер книги: 4.73 Mb
The Clean Coder: A Code of Conduct for Professional Programmers (Robert C. Martin Series)Автор: Robert C. Martin
Размер книги: 6.06 Mb
Только что пользователи скачали эти книги:
Numerical treatment of partial differential equationsАвтор: Christian Grossmann, Автор: Hans-Görg Roos, Автор: Martin Stynes
Размер книги: 3.68 Mb
Adaptive and Natural Computing Algorithms, 8 conf., ICANNGA 2007, part 1Автор: Bartlomiej Beliczynski, Автор: Andrzej DzielinskiКатегория: CsLn_
Размер книги: 15.14 Mb
Формирование эстетической культуры студентов колледжа. МонографияАвтор: Якушева С.Д.Категория: Культура. Культурология
Размер книги: 4.91 Mb
Русский генофонд на Русской равнинеАвтор: Балановская Е. В., Автор: Балановский О. П.
Размер книги: 33.43 Mb
|
|
|