From 1a8c81d07efe55c5a6909aff32359d4b8866af1c Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Wed, 27 Sep 2023 09:53:37 -0600 Subject: [PATCH] keep unit tests but make directory structure more consistent with requirements i did not read --- .gitmodules | 3 +++ class | 1 + homeworks/hw-2.org | 2 +- cl/lizfcm.asd => lizfcm.asd | 0 {cl/src => src}/approx/derivative.lisp | 0 {cl/src => src}/approx/maceps.lisp | 0 {cl/src => src}/approx/package.lisp | 0 {cl/src => src}/package.lisp | 0 {cl/src => src}/utils/package.lisp | 0 {cl/src => src}/utils/table.lisp | 0 {cl/src => src}/utils/within-range.lisp | 0 {cl/src => src}/vector/distance.lisp | 0 {cl/src => src}/vector/norm.lisp | 0 {cl/src => src}/vector/package.lisp | 0 {cl/tests => tests}/approx.lisp | 0 {cl/tests => tests}/maceps.lisp | 0 {cl/tests => tests}/suite.lisp | 0 {cl/tests => tests}/table.lisp | 0 {cl/tests => tests}/vector.lisp | 0 19 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 class rename cl/lizfcm.asd => lizfcm.asd (100%) rename {cl/src => src}/approx/derivative.lisp (100%) rename {cl/src => src}/approx/maceps.lisp (100%) rename {cl/src => src}/approx/package.lisp (100%) rename {cl/src => src}/package.lisp (100%) rename {cl/src => src}/utils/package.lisp (100%) rename {cl/src => src}/utils/table.lisp (100%) rename {cl/src => src}/utils/within-range.lisp (100%) rename {cl/src => src}/vector/distance.lisp (100%) rename {cl/src => src}/vector/norm.lisp (100%) rename {cl/src => src}/vector/package.lisp (100%) rename {cl/tests => tests}/approx.lisp (100%) rename {cl/tests => tests}/maceps.lisp (100%) rename {cl/tests => tests}/suite.lisp (100%) rename {cl/tests => tests}/table.lisp (100%) rename {cl/tests => tests}/vector.lisp (100%) diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..8b4a671 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "math4610"] + path = class + url = https://github.com/jvkoebbe/math4610 diff --git a/class b/class new file mode 160000 index 0000000..0c4f1d7 --- /dev/null +++ b/class @@ -0,0 +1 @@ +Subproject commit 0c4f1d7f0e438fe37a9c5ae5cc67743233997042 diff --git a/homeworks/hw-2.org b/homeworks/hw-2.org index 90807b6..9dad2d3 100644 --- a/homeworks/hw-2.org +++ b/homeworks/hw-2.org @@ -9,7 +9,7 @@ Computing $\epsilon_{\text{mac}}$ for single precision numbers #+BEGIN_SRC lisp :session t :results table - (load "../cl/lizfcm.asd") + (load "../lizfcm.asd") (ql:quickload :lizfcm) (let ((domain-values (lizfcm.approx:compute-maceps (lambda (x) x) diff --git a/cl/lizfcm.asd b/lizfcm.asd similarity index 100% rename from cl/lizfcm.asd rename to lizfcm.asd diff --git a/cl/src/approx/derivative.lisp b/src/approx/derivative.lisp similarity index 100% rename from cl/src/approx/derivative.lisp rename to src/approx/derivative.lisp diff --git a/cl/src/approx/maceps.lisp b/src/approx/maceps.lisp similarity index 100% rename from cl/src/approx/maceps.lisp rename to src/approx/maceps.lisp diff --git a/cl/src/approx/package.lisp b/src/approx/package.lisp similarity index 100% rename from cl/src/approx/package.lisp rename to src/approx/package.lisp diff --git a/cl/src/package.lisp b/src/package.lisp similarity index 100% rename from cl/src/package.lisp rename to src/package.lisp diff --git a/cl/src/utils/package.lisp b/src/utils/package.lisp similarity index 100% rename from cl/src/utils/package.lisp rename to src/utils/package.lisp diff --git a/cl/src/utils/table.lisp b/src/utils/table.lisp similarity index 100% rename from cl/src/utils/table.lisp rename to src/utils/table.lisp diff --git a/cl/src/utils/within-range.lisp b/src/utils/within-range.lisp similarity index 100% rename from cl/src/utils/within-range.lisp rename to src/utils/within-range.lisp diff --git a/cl/src/vector/distance.lisp b/src/vector/distance.lisp similarity index 100% rename from cl/src/vector/distance.lisp rename to src/vector/distance.lisp diff --git a/cl/src/vector/norm.lisp b/src/vector/norm.lisp similarity index 100% rename from cl/src/vector/norm.lisp rename to src/vector/norm.lisp diff --git a/cl/src/vector/package.lisp b/src/vector/package.lisp similarity index 100% rename from cl/src/vector/package.lisp rename to src/vector/package.lisp diff --git a/cl/tests/approx.lisp b/tests/approx.lisp similarity index 100% rename from cl/tests/approx.lisp rename to tests/approx.lisp diff --git a/cl/tests/maceps.lisp b/tests/maceps.lisp similarity index 100% rename from cl/tests/maceps.lisp rename to tests/maceps.lisp diff --git a/cl/tests/suite.lisp b/tests/suite.lisp similarity index 100% rename from cl/tests/suite.lisp rename to tests/suite.lisp diff --git a/cl/tests/table.lisp b/tests/table.lisp similarity index 100% rename from cl/tests/table.lisp rename to tests/table.lisp diff --git a/cl/tests/vector.lisp b/tests/vector.lisp similarity index 100% rename from cl/tests/vector.lisp rename to tests/vector.lisp