Skip to Content
F# for Scientists
book

F# for Scientists

by Jon Harrop
August 2008
Intermediate to advanced
368 pages
7h 54m
English
Wiley-Interscience
Content preview from F# for Scientists

List of Figures

  • 2.1 The fold_range function can be used to accumulate the result of applying a function f to a contiguous sequence of integers, in this case the sequence [1,9). 40

  • 2.2 Developing an application written entirely in F# using Microsoft Visual Studio 2005. 53

  • 2.3 Visual Studio provides graphical throwback of the type information inferred by the F# compiler: hovering the mouse over the definition of a variable r in the source code brings up a tooltip giving the inferred type of r. 54

  • 2.4 A project's properties page allows the compiler to be controlled. 55

  • 2.5 The Add-in Manager is used to provide the F# interactive mode. 57

  • 2.6 Creating a new C# class library project called ClassLibraryl inside a new solution called Interop. 59

  • 2.7 Creating a new F# project called Projectl also inside the Interop solution. 59

  • 2.8 Setting the startup project ofthe Interop solution to the F# project Project1 rather than the C# project ClassLibraryl as a DLL cannot be used to start an application . 60

  • 3.1 Complexities of the ipow_l and ipow_2 functions in terms of the number T(n) of multiplies performed. 67

  • 3.2 Complexities of the ipow_2 function in terms of the number of multiplies performed, showing: exact complexity T(n) (dots) and lower- and upper-bounds algorithmic complexities log2(n) — 1 ≤ T (n) 2(1 + log2 n) for n > 1 (lines). 68

  • 3.3 Measured performance of the ipow_l and ipow_2 functions which have asymptotic algorithmic complexities of

  • 3.4 Arrays are the simplest data structure, allowing ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

F# High Performance

F# High Performance

Eriawan Kusumawardhono
F# Deep Dives

F# Deep Dives

Phillip Trelford, Tomas Petricek
The Book of F#

The Book of F#

Dave Fancher

Publisher Resources

ISBN: 9780470242117Purchase book