Info
Version: | 0.6.0 |
Author(s): | Brian Berns |
Last Update: | Thursday, June 6, 2019 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/brianberns/Bernsrite.PowerSeries |
NuGet Url: | https://www.nuget.org/packages/Bernsrite.PowerSeries |
Install
Install-Package Bernsrite.PowerSeries
dotnet add package Bernsrite.PowerSeries
paket add Bernsrite.PowerSeries
Bernsrite.PowerSeries Download (Unzip the "nupkg" after downloading)
Dependencies
- FSharp.Core(>= 4.6.2)
- MathNet.Numerics(>= 4.8.0)
- MathNet.Numerics.FSharp(>= 4.8.0)
For example, the power seres for cos x is 1 - x2/2! + x4/4! - x6/6! + ..and the coefficients for the powers of x in this series are 1, 0, -1/2, 0, 1/24, ...
This F# class library models the coefficients of a power series as an infinite, lazy list.
The idea comes from a functional pearl by M. Douglas McIlroy called Power Series, Power Serious.