Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.13 KB

README.md

File metadata and controls

55 lines (37 loc) · 1.13 KB

chebApprox

Implementation of chebyshev polynomial representation of functions

Build and run

Install the stack build tool, then:

stack build

and then one of:

stack run
stack exec [executable name] -- [command line arguments to executable]

To load the project into an interactive environment, one of:

stack ghci
stack ghci --no-load --ghci-options=[command line arguments to ghci]

Install LLVM

macOS

Using Homebrew on macOS:

brew install llvm-hs/llvm/llvm-8

Debian/Ubuntu

For Debian/Ubuntu based Linux distributions, the LLVM.org website provides binary distribution packages. Check apt.llvm.org for instructions for adding the correct package database for your OS version; for example:

echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" | sudo tee -a /etc/apt/sources.list
echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update

And then:

apt-get install llvm-8-dev