From b4ded112e21249774920681e00456b2a5c2b39de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Mon, 7 Jun 2021 09:03:26 +0200 Subject: add numerical computation of lambert W function --- buch/chapters/020-exponential/code/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'buch/chapters/020-exponential/code/Makefile') diff --git a/buch/chapters/020-exponential/code/Makefile b/buch/chapters/020-exponential/code/Makefile index b189dae..f7c1e9c 100644 --- a/buch/chapters/020-exponential/code/Makefile +++ b/buch/chapters/020-exponential/code/Makefile @@ -4,6 +4,14 @@ # # (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule # +all: lambertw-test xxl: xxl.c gcc -o xxl -W -O2 -lgsl xxl.c + +lambertw: lambertw.c + gcc -o lambertw -W -O2 lambertw.c + +lambertw-test: lambertw + ./lambertw -l l.txt -- -0.35 -0.367 -0.3678 -0.36787 -0.367879 -0.2 1 2 3 10 100 1000 -0.1 -0.01 -0.001 -0.0001 + -- cgit v1.2.1