The th-cas package

[ Tags: library, math, mit, numeric ] [ Propose Tags ]

Compile-time CAS(Computer Algebra System)


[Skip to Readme]

Properties

Versions 0.1.0
Change log ChangeLog.md
Dependencies base (==4.*), template-haskell [details]
License MIT
Author Junji Hashimoto
Maintainer junji.hashimoto@gmail.com
Category Math, Numeric
Home page https://github/junjihashimoto/th-cas
Bug tracker https://github.com/junjihashimoto/th-cas/issues
Source repository head: git clone https://github.com/junjihashimoto/th-cas
Uploaded Mon Nov 16 01:20:34 UTC 2015 by junjihashimoto
Distributions NixOS:0.1.0
Downloads 149 total (9 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-11-16 [all 2 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for th-cas-0.1.0

[back to package description]

th-cas : Compile-time CAS(Computer Algebra System)

Hackage version Build Status

CAS(Computer Algebra System) operations like diff are done at compile-time. (integrate-function is under development.)

Usage

Write diff function var with Quotes of TemplateHaskell. diff makes a diffirential of the function at compile-time. So there is no overhead at execution-time.

A example is below.

import Algebra.CAS.TH

myfunc x = $(diff [|x*x+2*x+1|] [|x|])