F# for Scientists [NOOK Book]

Overview

"This work strikes a balance between the pure functional aspects of F# and the object-oriented and imperative features that make it so useful in practice, enable .NET integration, and make large-scale data processing possible."
—Thore Graepel, PhD, Researcher, Microsoft Research Ltd.

Over the next five years, F# is expected to become one of the world's most popular functional programming languages for scientists of all disciplines working on the Windows platform. F# is free and, unlike MATLAB® and other software ...

See more details below
F# for Scientists

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$54.49
BN.com price
(Save 42%)$94.99 List Price
Note: This NOOK Book can be purchased in bulk. Please email us for more information.

Overview

"This work strikes a balance between the pure functional aspects of F# and the object-oriented and imperative features that make it so useful in practice, enable .NET integration, and make large-scale data processing possible."
—Thore Graepel, PhD, Researcher, Microsoft Research Ltd.

Over the next five years, F# is expected to become one of the world's most popular functional programming languages for scientists of all disciplines working on the Windows platform. F# is free and, unlike MATLAB® and other software with numerical/scientific origins, is a full-fledged programming language.

Developed in consultation with Don Syme of Microsoft Research Ltd.—who wrote the language—F# for Scientists explains and demonstrates the powerful features of this important new programming language. The book assumes no prior experience and guides the reader from the basics of computer programming to the implementation of state-of-the-art algorithms.

F# for Scientists begins with coverage of introductory material in the areas of functional programming, .NET, and scientific computing, and goes on to explore:

  • Program structure

  • Optimization

  • Data structures

  • Libraries

  • Numerical analysis

  • Databases

  • Input and output

  • Interoperability

  • Visualization

Screenshots of development using Visual Studio are used to illustrate compilation, debugging, and interactive use, while complete examples of a few whole programs are included to give readers a complete view of F#'s capabilities.

Written in a clear and concise style, F# for Scientists is well suited for researchers, scientists, and developers who want to program under the Windows platform. It also serves as an ideal supplemental text for advanced undergraduate and graduate students with a background in science or engineering.

Read More Show Less

Editorial Reviews

From the Publisher
"The hardbound book is a really solid treatment." (Computing Reviews, February 5, 2009)
Read More Show Less

Product Details

  • ISBN-13: 9781118210819
  • Publisher: Wiley
  • Publication date: 9/20/2011
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 368
  • File size: 3 MB

Meet the Author

Jon Harrop, PhD, has taught mathematics, biology, and computer science. He founded Flying Frog Consultancy; has produced several products for computational scientists, including the book OCaml for Scientists; and has consulted for high-tech companies on the commercial use of functional programming languages.
Read More Show Less

Table of Contents

Foreword.

Preface.

Acknowledgments.

List of Figures.

List of Tables.

Acronyms.

1. Introduction.

1.1 Programming guidelines.

1.2 A brief history of F#.

1.3 Benefits of F#.

1.4 Introducing F#.

1.5 Imperative programming.

1.6 Functional programming.

2. Program Structure.

2.1 Nesting.

2.2 Factoring.

2.3 Modules.

2.4 Objects.

2.5 Functional design patterns.

2.6 F# development.

3. Data Structures.

3.1 Algorithmic complexity.

3.2 Arrays.

3.3 Lists.

3.4 Sets.

3.5 Hash tables.

3.6 Maps.

3.7 Choosing a data structure.

3.8 Sequences.

3.9 Heterogeneous containers.

3.10 Trees.

4. Numerical Analysis.

4.1 Number representation.

4.2 Algebra.

4.3 Interpolation.

4.4 Quadratic solutions.

4.5 Mean and variance.

4.6 Other forms of arithmetic.

5. Input and Output.

5.1 Printing.

5.2 Generic printing.

5.3 Reading from and writing to files.

5.4 Serialization.

5.5 Lexing and parsing.

6. Simple Examples.

6.1 Functional.

6.2 Numerical.

6.3 String related.

6.4 List related.

6.5 Array related.

6.6 Higher-order functions.

7. Visualization.

7.1 Windows Forms.

7.2 Managed DirectX.

7.3 Tesselating objects into triangles.

8. Optimization.

8.1 Timing.

8.2 Profiling.

8.3 Algorithmic optimizations.

8.4 Lower-level optimizations.

9. Libraries.

9.1 Loading .NET libraries.

9.2 Charting and graphing.

9.3 Threads.

9.4 Random numbers.

9.5 Regular expressions.

9.6 Vectors and matrices.

9.7 Downloading from the Web.

9.8 Compression.

9.9 Handling XML.

9.10 Calling native libraries.

9.11 Fourier transform.

9.12 Mataprogramming.

10. Databases.

10.1 Protein data bank.

10.2 Web services.

10.3 Relational databases.

11. Interoperability.

11.1 Excel.

11.2 MATLAB.

11.3 Mathematica.

12. Complete Examples.

12.1 Fast Fourier transform.

12.2 Semi-circle law.

12.3 Finding n th.-nearest neighbors.

12.4 Logistic map.

12.5 Real-time particle dynamics.

Appendix A: Troubleshooting.

A.1 Value restriction.

A.2 Mutable array contents.

A.3 Negative literals.

A.4 Accidental capture.

A.5 Local and non-local variable definitions.

A.6 Merging lines.

A.7 Applications that do not die.

A.8 Beware of "it".

Glossary.

Bibliography.

Index.

Read More Show Less

Customer Reviews

Average Rating 3
( 1 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(1)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Posted January 8, 2013

    the ebook has too many typos and errors

    the ebook has too many typos and errors

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)