On TechRepublic: Five super-secret features in Windows 7
BNET Business Network:
BNET
TechRepublic
ZDNet

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:PDFSize:401 KB
Date:Oct 2007Version:1.0
License:copyright
System Req:Adobe Acrobat Reader 5.0 or later
advertisement

White Papers, Webcasts, and Resources

Featured 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
Click Here

Returning users: Log In Here!

Already registered on BNET, TechRepublic, or ZDNet? Simply log in.

Free Membership: Sign Up Now!

Sign up for a free membership today and get instant and unlimited access to one of the largest databases of white papers, webcasts, and casestudies anywhere. Your FREE membership allows you to:

  • Download an unlimited amount of content, including classic and current white papers, case studies, webcasts and more
  • Track content on your chosen topics of interest
  • Receive targeted email alerts when your favorite content is added
  • Save content for future reading
  • Receive our member newsletter

When you register to access this library, you allow us to share your information with companies that produce products or services featured in the library--so that such companies may contact you with information and offers regarding their products and services. This enables us to keep the library a free service. As a library registrant, you will receive a complimentary subscription to the ZDNet white paper newsletter and e-mail Must-Read News Alerts. You can unsubscribe from these at any time. By clicking the Sign up button, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy (updated).