FREE Registration is required
Overview:
Anyone who appreciates mathematical elegance will appreciate the Fibonacci sequence and its associated relationship, the Golden Ratio. In this chapter download from Extended STL: Collections and Iterators, Volume 1, examine how this mathematical sequence can be represented as a collection in the form of a Standard Template Library (STL) sequence class, then consider whether it might be better represented as an iterator, before finally coming back to seeing how a range-limited sequence is the most discoverable representation. The chapter covers issues related to implementing an unbounded (infinite) notional collection, highlighting the imperfect fit between such collections and the strict finitude of C++'s integral types and the assumed boundedness of STL iterator pairs.
Title: Extended STL: Collections and Iterators, Volume 1
Author: Matthew Wilson
Publisher: Addison Wesley Professional
Chapter 23: The Fibonacci Sequence
ISBN: 0-321-30550-7; Copyright 2007, Addison Wesley Professional. All rights reserved.
Used with permission from the publisher. Available from booksellers or direct from
Addison Wesley Professional
(Is this item miscategorized? Does it need more tags? Let us know.)
| Format: | Size: | 401 KB | |
| Date: | Oct 2007 | Version: | 1.0 |
| License: | copyright | ||
| System Req: | Adobe Acrobat Reader 5.0 or later |
People who downloaded this item also downloaded
White Papers, Webcasts, and Resources
- Designing High Availability for Internet Information Services CA XOsoftEnd downtime forever on your Web servers running Microsoft Internet Information Services with this step-by-step guide to high availability.
- Spend 3 minutes with free EBS ROI Tool - and Save Thousands IBMSee exactly how an Oracle EBS upgrade can lower your cost of ownership, deliver greater business intelligence, and improve capabilities company-wide.
- IBM WebSphere Portal for z/OS taps into System z, Web 2.0: Executive update IBMSee how to lower costs and extract value faster with more responsive, interactive and intuitive business applications from WebSphere Portal Version 6.1.
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
Featured Training Courses
- Implementing and Administering Windows 7 in the Enterprise
- CCNA Boot Camp v2.0
- VMware vSphere: Install, Configure, Manage [V4]
- Certified Ethical Hacker
- Management and Leadership Skills
- Browse all Training Courses
SmartPlanet
- Thought-provoking progressive ideas on diverse topics that intersect with technology, business, and life, and matter to the world at large. Visit SmartPlanet
- More from IBM
- Innovate your business' process model, play against the market, compete against others on our scoreboards and WIN! Try INNOV8 2.0: A BPM Simulator
- Enabling Real-World Business Transformation through IBM Service Management Read the EMA Analyst Report



