]> gitweb.michael.orlitzky.com - spline3.git/log
spline3.git
5 years agosrc/FunctionValues.hs: undo a stupid trick, to fix a monomorphism warning.
Michael Orlitzky [Tue, 5 Mar 2019 01:07:04 +0000 (20:07 -0500)]
src/FunctionValues.hs: undo a stupid trick, to fix a monomorphism warning.

5 years agosrc/Misc.hs: add a type annotation to avoid a monomorphism warning.
Michael Orlitzky [Tue, 5 Mar 2019 01:06:36 +0000 (20:06 -0500)]
src/Misc.hs: add a type annotation to avoid a monomorphism warning.

5 years agosrc/Tetrahedron.hs: add a type annotation to avoid a monomorphism warning.
Michael Orlitzky [Tue, 5 Mar 2019 00:59:02 +0000 (19:59 -0500)]
src/Tetrahedron.hs: add a type annotation to avoid a monomorphism warning.

5 years agosrc/RealFunction.hs: ignore orphan instance warnings.
Michael Orlitzky [Tue, 5 Mar 2019 00:55:49 +0000 (19:55 -0500)]
src/RealFunction.hs: ignore orphan instance warnings.

I'm pretty sure I don't want to make RealFunction a newtype, although
I haven't tested the performance impact. But I definitely don't want
to see these warnings. Use a pragma thingy to ignore them.

5 years agosrc/Cube.hs: add type annotations to avoid monomorphism warnings.
Michael Orlitzky [Tue, 5 Mar 2019 00:49:59 +0000 (19:49 -0500)]
src/Cube.hs: add type annotations to avoid monomorphism warnings.

5 years agosrc/Grid.hs: add type annotations to avoid monomorphism warnings.
Michael Orlitzky [Tue, 5 Mar 2019 00:44:22 +0000 (19:44 -0500)]
src/Grid.hs: add type annotations to avoid monomorphism warnings.

5 years agosrc/Volumetric.hs: add type annotations to avoid monomorphism warnings.
Michael Orlitzky [Tue, 5 Mar 2019 00:33:13 +0000 (19:33 -0500)]
src/Volumetric.hs: add type annotations to avoid monomorphism warnings.

5 years agosrc/Volumetric.hs: fix whitespace alignment of an "equals" sign.
Michael Orlitzky [Tue, 5 Mar 2019 00:32:51 +0000 (19:32 -0500)]
src/Volumetric.hs: fix whitespace alignment of an "equals" sign.

5 years agosrc/Main.hs: add a few type annotations to avoid monomorphism warnings.
Michael Orlitzky [Tue, 5 Mar 2019 00:30:35 +0000 (19:30 -0500)]
src/Main.hs: add a few type annotations to avoid monomorphism warnings.

5 years agosrc/Grid.hs: define the Grid using "newtype" instead of "data".
Michael Orlitzky [Tue, 5 Mar 2019 00:25:33 +0000 (19:25 -0500)]
src/Grid.hs: define the Grid using "newtype" instead of "data".

5 years agospline3.cabal: add other-modules for the test suite section.
Michael Orlitzky [Tue, 5 Mar 2019 00:24:47 +0000 (19:24 -0500)]
spline3.cabal: add other-modules for the test suite section.

5 years agospline3.cabal: add Paths_spline3 to other-modules to silence a warning.
Michael Orlitzky [Tue, 5 Mar 2019 00:19:50 +0000 (19:19 -0500)]
spline3.cabal: add Paths_spline3 to other-modules to silence a warning.

6 years agospline3.cabal: loosen repa dependency bounds (any 3.x version will work).
Michael Orlitzky [Tue, 5 Dec 2017 14:29:23 +0000 (09:29 -0500)]
spline3.cabal: loosen repa dependency bounds (any 3.x version will work).

8 years agoSwitch from GPL-3 to AGPL-3 and update the project URLs.
Michael Orlitzky [Tue, 8 Nov 2016 03:38:56 +0000 (22:38 -0500)]
Switch from GPL-3 to AGPL-3 and update the project URLs.

9 years agoRemove the hpc build flag to appease Hackage. 0.0.2
Michael Orlitzky [Fri, 17 Apr 2015 00:59:26 +0000 (20:59 -0400)]
Remove the hpc build flag to appease Hackage.

9 years agoInstate Repa upper bound (due to its GHC dependency). 0.0.1
Michael Orlitzky [Fri, 17 Apr 2015 00:49:25 +0000 (20:49 -0400)]
Instate Repa upper bound (due to its GHC dependency).

9 years agoSet cabal version to 0.0.1.
Michael Orlitzky [Fri, 17 Apr 2015 00:35:44 +0000 (20:35 -0400)]
Set cabal version to 0.0.1.
Ship MRI data companion files (suggested by the website).
Update some makefile rules.
Fix extra-source-modules in the cabal file.

9 years agoFix typo.
Michael Orlitzky [Thu, 16 Apr 2015 23:47:18 +0000 (19:47 -0400)]
Fix typo.

9 years agoSwitch to Tasty for testing.
Michael Orlitzky [Thu, 16 Apr 2015 23:45:21 +0000 (19:45 -0400)]
Switch to Tasty for testing.

9 years agoImport cleanup in Volumetric.
Michael Orlitzky [Thu, 16 Apr 2015 01:37:34 +0000 (21:37 -0400)]
Import cleanup in Volumetric.

9 years agoImport cleanup in Values.
Michael Orlitzky [Thu, 16 Apr 2015 01:37:21 +0000 (21:37 -0400)]
Import cleanup in Values.

9 years agoImport cleanup in Tetrahedron.
Michael Orlitzky [Thu, 16 Apr 2015 01:37:08 +0000 (21:37 -0400)]
Import cleanup in Tetrahedron.

9 years agoAdd a comment to the ScaleFactor module.
Michael Orlitzky [Thu, 16 Apr 2015 01:36:53 +0000 (21:36 -0400)]
Add a comment to the ScaleFactor module.

9 years agoWhitespace cleanup and hlint fix in RealFunction.
Michael Orlitzky [Thu, 16 Apr 2015 01:36:29 +0000 (21:36 -0400)]
Whitespace cleanup and hlint fix in RealFunction.

9 years agoWhitespace cleanup in Point.
Michael Orlitzky [Thu, 16 Apr 2015 01:36:06 +0000 (21:36 -0400)]
Whitespace cleanup in Point.

9 years agoDefine an export list in Misc, clean up imports.
Michael Orlitzky [Thu, 16 Apr 2015 01:35:49 +0000 (21:35 -0400)]
Define an export list in Misc, clean up imports.

9 years agoImport cleanup and hlint fix in Main.
Michael Orlitzky [Thu, 16 Apr 2015 01:35:23 +0000 (21:35 -0400)]
Import cleanup and hlint fix in Main.

9 years agoImport cleanup in Grid.
Michael Orlitzky [Thu, 16 Apr 2015 01:35:08 +0000 (21:35 -0400)]
Import cleanup in Grid.

9 years agoImport cleanup in FunctionValues.
Michael Orlitzky [Thu, 16 Apr 2015 01:15:38 +0000 (21:15 -0400)]
Import cleanup in FunctionValues.

9 years agoImport cleanup in Face.
Michael Orlitzky [Thu, 16 Apr 2015 01:15:22 +0000 (21:15 -0400)]
Import cleanup in Face.

9 years agoDefine an export list in ExitCodes.
Michael Orlitzky [Thu, 16 Apr 2015 01:15:03 +0000 (21:15 -0400)]
Define an export list in ExitCodes.

9 years agoWhitespace and import cleanup in Examples.
Michael Orlitzky [Thu, 16 Apr 2015 01:14:04 +0000 (21:14 -0400)]
Whitespace and import cleanup in Examples.

9 years agoWhitespace cleanup in Everything.hs.
Michael Orlitzky [Thu, 16 Apr 2015 01:13:44 +0000 (21:13 -0400)]
Whitespace cleanup in Everything.hs.

9 years agoWhitespace and import cleanup in Cube.
Michael Orlitzky [Thu, 16 Apr 2015 01:13:28 +0000 (21:13 -0400)]
Whitespace and import cleanup in Cube.

9 years agoWhitespace cleanup in Comparisons.
Michael Orlitzky [Thu, 16 Apr 2015 01:04:11 +0000 (21:04 -0400)]
Whitespace cleanup in Comparisons.

9 years agoImport cleanup and hlint fix in CommandLine.
Michael Orlitzky [Thu, 16 Apr 2015 01:03:45 +0000 (21:03 -0400)]
Import cleanup and hlint fix in CommandLine.

9 years agoDefine an export list in Cardinal.
Michael Orlitzky [Thu, 16 Apr 2015 01:03:34 +0000 (21:03 -0400)]
Define an export list in Cardinal.

9 years agoImport cleanup in Assertions.
Michael Orlitzky [Thu, 16 Apr 2015 01:03:14 +0000 (21:03 -0400)]
Import cleanup in Assertions.

9 years agoBump non-test dependencies in the cabal file.
Michael Orlitzky [Wed, 15 Apr 2015 17:32:58 +0000 (13:32 -0400)]
Bump non-test dependencies in the cabal file.

9 years agoAdd some doctest examples to RealFunction.
Michael Orlitzky [Wed, 15 Apr 2015 17:17:56 +0000 (13:17 -0400)]
Add some doctest examples to RealFunction.

9 years agoPass -isrc to doctest directly (without --optghc).
Michael Orlitzky [Wed, 15 Apr 2015 17:17:33 +0000 (13:17 -0400)]
Pass -isrc to doctest directly (without --optghc).

9 years agoWhitespace cleanup.
Michael Orlitzky [Wed, 15 Apr 2015 17:17:26 +0000 (13:17 -0400)]
Whitespace cleanup.

11 years agoBump dependencies, and move some Arbitrary code from Values.hs to Grid.hs to avoid...
Michael Orlitzky [Tue, 4 Jun 2013 15:16:19 +0000 (11:16 -0400)]
Bump dependencies, and move some Arbitrary code from Values.hs to Grid.hs to avoid an instance collision.

11 years agoBump deps for ghc-7.6.
Michael Orlitzky [Fri, 30 Nov 2012 19:01:52 +0000 (14:01 -0500)]
Bump deps for ghc-7.6.

12 years agoBump the cmdargs dep to 0.10.*.
Michael Orlitzky [Fri, 12 Oct 2012 00:11:50 +0000 (20:11 -0400)]
Bump the cmdargs dep to 0.10.*.

12 years agoRemove the TODO; "add more documentation" is an implicit TODO.
Michael Orlitzky [Fri, 24 Aug 2012 19:59:56 +0000 (15:59 -0400)]
Remove the TODO; "add more documentation" is an implicit TODO.

12 years agoRemove the plain text README now that the webpage works.
Michael Orlitzky [Fri, 24 Aug 2012 19:07:50 +0000 (15:07 -0400)]
Remove the plain text README now that the webpage works.

12 years agoUpdate all 3D result images.
Michael Orlitzky [Fri, 24 Aug 2012 18:05:39 +0000 (14:05 -0400)]
Update all 3D result images.

12 years agoRemove the 'src_html' makefile target and replace it with 'dist'.
Michael Orlitzky [Fri, 24 Aug 2012 15:18:16 +0000 (11:18 -0400)]
Remove the 'src_html' makefile target and replace it with 'dist'.
Add a few fields to the cabal file.
Shorten the synopsis.

12 years agoAdd a preliminary README.
Michael Orlitzky [Wed, 22 Aug 2012 21:00:23 +0000 (17:00 -0400)]
Add a preliminary README.

12 years agoAdd the python script used to view the 3D input/results.
Michael Orlitzky [Wed, 22 Aug 2012 20:55:07 +0000 (16:55 -0400)]
Add the python script used to view the 3D input/results.

12 years agoFlip bytes again before outputting the 3D data.
Michael Orlitzky [Wed, 22 Aug 2012 20:51:56 +0000 (16:51 -0400)]
Flip bytes again before outputting the 3D data.

12 years agoRecreate the MRI data, something went wrong with it.
Michael Orlitzky [Wed, 22 Aug 2012 20:51:14 +0000 (16:51 -0400)]
Recreate the MRI data, something went wrong with it.

12 years agoMove the last two MRI-specific variables out of MRI.hs and into the command-line...
Michael Orlitzky [Wed, 22 Aug 2012 20:07:12 +0000 (16:07 -0400)]
Move the last two MRI-specific variables out of MRI.hs and into the command-line configuration.
Rename MRI to Volumetric.

12 years agoRemove the hscolour_srcs script, praying that Cabal/Haddock get it right soon.
Michael Orlitzky [Wed, 22 Aug 2012 18:40:18 +0000 (14:40 -0400)]
Remove the hscolour_srcs script, praying that Cabal/Haddock get it right soon.

12 years agoAdd images of some results.
Michael Orlitzky [Wed, 22 Aug 2012 17:53:03 +0000 (13:53 -0400)]
Add images of some results.

12 years agoAdd a LICENSE file.
Michael Orlitzky [Wed, 22 Aug 2012 17:52:39 +0000 (13:52 -0400)]
Add a LICENSE file.

12 years agoUpdate the doc target.
Michael Orlitzky [Wed, 22 Aug 2012 17:51:22 +0000 (13:51 -0400)]
Update the doc target.

12 years agoRemove the old (unused) doc/html directory.
Michael Orlitzky [Wed, 22 Aug 2012 14:38:40 +0000 (10:38 -0400)]
Remove the old (unused) doc/html directory.

12 years agoRemove the unused example1.py/spline3.lyx paper that I never finished.
Michael Orlitzky [Wed, 22 Aug 2012 14:35:27 +0000 (10:35 -0400)]
Remove the unused example1.py/spline3.lyx paper that I never finished.

12 years agoUse cmdargs to parse command-line arguments.
Michael Orlitzky [Tue, 21 Aug 2012 19:55:01 +0000 (15:55 -0400)]
Use cmdargs to parse command-line arguments.
Allow selection of 2d/3d processing from the command-line.

12 years agoAdd dependencies on cmdargs and MissingH.
Michael Orlitzky [Tue, 21 Aug 2012 19:52:27 +0000 (15:52 -0400)]
Add dependencies on cmdargs and MissingH.

12 years agoRemove the test-framework-doctest dependency.
Michael Orlitzky [Sun, 19 Aug 2012 18:01:00 +0000 (14:01 -0400)]
Remove the test-framework-doctest dependency.
Split the doctests out into a new file, Doctests.hs.
Integrate all tests with cabal.

12 years agoFix MRI.hs for repa-3.2.
Michael Orlitzky [Sun, 19 Aug 2012 17:59:36 +0000 (13:59 -0400)]
Fix MRI.hs for repa-3.2.

12 years agoUpdate repa, quickcheck, and doctest version bounds.
Michael Orlitzky [Sun, 19 Aug 2012 16:32:22 +0000 (12:32 -0400)]
Update repa, quickcheck, and doctest version bounds.

12 years agoUse lenient comparisons in two failing tests.
Michael Orlitzky [Wed, 30 May 2012 19:09:06 +0000 (15:09 -0400)]
Use lenient comparisons in two failing tests.
Reduce the number of test cases to 500 to prevent exhaustion.

12 years agoFix all of the sequential operations with the caveat that it now segfaults.
Michael Orlitzky [Tue, 17 Apr 2012 04:01:40 +0000 (00:01 -0400)]
Fix all of the sequential operations with the caveat that it now segfaults.

12 years agoMake the minimum number of changes necessary to work with repa-3.1.1.1. Unfortunately...
Michael Orlitzky [Tue, 17 Apr 2012 01:31:41 +0000 (21:31 -0400)]
Make the minimum number of changes necessary to work with repa-3.1.1.1. Unfortunately, to do so, we compute some things sequentially.

12 years agoBump dependencies in the cabal file.
Michael Orlitzky [Tue, 17 Apr 2012 01:30:17 +0000 (21:30 -0400)]
Bump dependencies in the cabal file.
Add doctest and test-framework-doctest as dependencies.

12 years agoRemove the bin/.gitignore file.
Michael Orlitzky [Wed, 18 Jan 2012 23:57:41 +0000 (18:57 -0500)]
Remove the bin/.gitignore file.

12 years agoUpdate the cabal file for ghc-7.4.
Michael Orlitzky [Tue, 3 Jan 2012 16:46:02 +0000 (11:46 -0500)]
Update the cabal file for ghc-7.4.

12 years agoRemove the README since the cabal file now lists dependencies.
Michael Orlitzky [Sun, 27 Nov 2011 16:03:11 +0000 (11:03 -0500)]
Remove the README since the cabal file now lists dependencies.

13 years agoUpdate the hscolour_srcs script to use the Cabal filesystem layout.
Michael Orlitzky [Sun, 27 Nov 2011 01:37:59 +0000 (20:37 -0500)]
Update the hscolour_srcs script to use the Cabal filesystem layout.

13 years agoUpdate the makefile to use Cabal.
Michael Orlitzky [Sun, 27 Nov 2011 01:37:28 +0000 (20:37 -0500)]
Update the makefile to use Cabal.

13 years agoAdd an empty Setup.hs file for Cabal.
Michael Orlitzky [Sun, 27 Nov 2011 01:36:26 +0000 (20:36 -0500)]
Add an empty Setup.hs file for Cabal.

13 years agoAdd a cabal file.
Michael Orlitzky [Sun, 27 Nov 2011 01:35:28 +0000 (20:35 -0500)]
Add a cabal file.

13 years agoRemove the repa3 includes from the GHC command-line. It seems to work without them.
Michael Orlitzky [Tue, 8 Nov 2011 17:39:41 +0000 (12:39 -0500)]
Remove the repa3 includes from the GHC command-line. It seems to work without them.

13 years agoRemove the 'h' parameter from the model entirely by defining h=1.
Michael Orlitzky [Mon, 7 Nov 2011 02:32:55 +0000 (21:32 -0500)]
Remove the 'h' parameter from the model entirely by defining h=1.

13 years agoRemove redundant '$' operators.
Michael Orlitzky [Mon, 7 Nov 2011 02:14:25 +0000 (21:14 -0500)]
Remove redundant '$' operators.

13 years agoFix more hlint issues in Grid tests.
Michael Orlitzky [Mon, 7 Nov 2011 02:12:55 +0000 (21:12 -0500)]
Fix more hlint issues in Grid tests.

13 years agoFix some hlint issues.
Michael Orlitzky [Mon, 7 Nov 2011 02:12:07 +0000 (21:12 -0500)]
Fix some hlint issues.

13 years agoRemove the now-useless make_grid function.
Michael Orlitzky [Mon, 7 Nov 2011 01:44:13 +0000 (20:44 -0500)]
Remove the now-useless make_grid function.

13 years agoRemove an unused import of Comparisons.nearly_ge.
Michael Orlitzky [Mon, 7 Nov 2011 01:20:05 +0000 (20:20 -0500)]
Remove an unused import of Comparisons.nearly_ge.

13 years agoRemove the Tetrahedron contains_point function and its tests since the search algorit...
Michael Orlitzky [Mon, 7 Nov 2011 01:17:06 +0000 (20:17 -0500)]
Remove the Tetrahedron contains_point function and its tests since the search algorithm was updated to use something faster.

13 years agoRemove the coincident vertices guards from the Tetrahedron volume function.
Michael Orlitzky [Mon, 7 Nov 2011 01:05:40 +0000 (20:05 -0500)]
Remove the coincident vertices guards from the Tetrahedron volume function.

13 years agoAdd Repa 3 to the README.
Michael Orlitzky [Sun, 6 Nov 2011 23:58:04 +0000 (18:58 -0500)]
Add Repa 3 to the README.

13 years agoDrop the no-longer-useful ThreeDimensional class.
Michael Orlitzky [Sun, 6 Nov 2011 23:16:54 +0000 (18:16 -0500)]
Drop the no-longer-useful ThreeDimensional class.

13 years agoRemove all "otherwise -> error" cases for performance reasons.
Michael Orlitzky [Mon, 31 Oct 2011 04:56:14 +0000 (00:56 -0400)]
Remove all "otherwise -> error" cases for performance reasons.

13 years agoUpdate to repa3 (Ben Lippmeier).
Michael Orlitzky [Mon, 31 Oct 2011 04:29:59 +0000 (00:29 -0400)]
Update to repa3 (Ben Lippmeier).

13 years agoInline the polynomial function.
Michael Orlitzky [Thu, 27 Oct 2011 13:32:40 +0000 (09:32 -0400)]
Inline the polynomial function.

13 years agoComment some test-only functions.
Michael Orlitzky [Thu, 27 Oct 2011 13:19:10 +0000 (09:19 -0400)]
Comment some test-only functions.

13 years agoInline Tetrahedron functions volume, b0, b1, b2, and b3 (Ben Lippmeier).
Michael Orlitzky [Wed, 26 Oct 2011 12:49:22 +0000 (08:49 -0400)]
Inline Tetrahedron functions volume, b0, b1, b2, and b3 (Ben Lippmeier).

13 years agoRemove the Eq instance for Grids.
Michael Orlitzky [Wed, 26 Oct 2011 12:33:47 +0000 (08:33 -0400)]
Remove the Eq instance for Grids.

13 years agoInline find_containing_tetrahedron.
Michael Orlitzky [Wed, 26 Oct 2011 03:55:20 +0000 (23:55 -0400)]
Inline find_containing_tetrahedron.

13 years agoDefine a custom 'Point' type instead of a 3-tuple so that its constructor can be...
Michael Orlitzky [Wed, 26 Oct 2011 03:28:46 +0000 (23:28 -0400)]
Define a custom 'Point' type instead of a 3-tuple so that its constructor can be made strict.
Updated all 'Point' references to use the new constructor.

13 years agoRemove a redundant import.
Michael Orlitzky [Tue, 25 Oct 2011 21:28:06 +0000 (17:28 -0400)]
Remove a redundant import.

13 years agoInline the dot product (Ben Lippmeier).
Michael Orlitzky [Tue, 25 Oct 2011 21:26:14 +0000 (17:26 -0400)]
Inline the dot product (Ben Lippmeier).

13 years agoRemove the Point.distance function and associated assertion. We only need the dot...
Michael Orlitzky [Tue, 25 Oct 2011 21:25:17 +0000 (17:25 -0400)]
Remove the Point.distance function and associated assertion. We only need the dot product.

13 years agoAdd comments to the effect that some functions are only used in tests.
Michael Orlitzky [Tue, 25 Oct 2011 20:21:17 +0000 (16:21 -0400)]
Add comments to the effect that some functions are only used in tests.
Minor whitespace changes.

13 years agoEliminate common subexpressions in Cube.hs (Ben Lippmeier).
Michael Orlitzky [Tue, 25 Oct 2011 16:14:46 +0000 (12:14 -0400)]
Eliminate common subexpressions in Cube.hs (Ben Lippmeier).