]> gitweb.michael.orlitzky.com - spline3.git/log
spline3.git
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.

13 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).

13 years agoAdd bang patterns to the Misc module and use them to write a faster
Michael Orlitzky [Tue, 25 Oct 2011 04:00:19 +0000 (00:00 -0400)]
Add bang patterns to the Misc module and use them to write a faster
factorial function (Ben Lippmeier).

13 years agoAdd bang patterns to the Tetrahedron module (Ben Lippmeier).
Michael Orlitzky [Tue, 25 Oct 2011 03:57:22 +0000 (23:57 -0400)]
Add bang patterns to the Tetrahedron module (Ben Lippmeier).

13 years agoAdd bang patterns to the definition of Face (Ben Lippmeier).
Michael Orlitzky [Tue, 25 Oct 2011 03:55:02 +0000 (23:55 -0400)]
Add bang patterns to the definition of Face (Ben Lippmeier).

13 years agoAdd bang patterns for the cube_at function (Ben Lippmeier).
Michael Orlitzky [Tue, 25 Oct 2011 03:53:27 +0000 (23:53 -0400)]
Add bang patterns for the cube_at function (Ben Lippmeier).

13 years agoAdd bang patterns to the FunctionValues module (Ben Lippmeier).
Michael Orlitzky [Tue, 25 Oct 2011 03:51:15 +0000 (23:51 -0400)]
Add bang patterns to the FunctionValues module (Ben Lippmeier).

13 years agoAdd bang patterns to the definition of Cube (Ben Lippmeier).
Michael Orlitzky [Tue, 25 Oct 2011 03:49:22 +0000 (23:49 -0400)]
Add bang patterns to the definition of Cube (Ben Lippmeier).

13 years agoAdd -funbox-strict-fields to OPTIMIZATIONS (Ben Lippmeier).
Michael Orlitzky [Tue, 25 Oct 2011 03:43:44 +0000 (23:43 -0400)]
Add -funbox-strict-fields to OPTIMIZATIONS (Ben Lippmeier).

13 years agoAdd the MRI data, now that we know it works, and remove the data/.gitignore.
Michael Orlitzky [Tue, 18 Oct 2011 16:36:53 +0000 (12:36 -0400)]
Add the MRI data, now that we know it works, and remove the data/.gitignore.

13 years agoAdd another TODO.
Michael Orlitzky [Sat, 15 Oct 2011 22:35:31 +0000 (18:35 -0400)]
Add another TODO.

13 years agoRemove some dead code.
Michael Orlitzky [Sat, 15 Oct 2011 22:33:04 +0000 (18:33 -0400)]
Remove some dead code.

13 years agoClean up the makefile a little bit and add an 'hpc' target.
Michael Orlitzky [Sat, 15 Oct 2011 22:27:19 +0000 (18:27 -0400)]
Clean up the makefile a little bit and add an 'hpc' target.

13 years agoAdd a TODO item.
Michael Orlitzky [Sat, 15 Oct 2011 22:15:05 +0000 (18:15 -0400)]
Add a TODO item.

13 years agoDefine a few tests locally.
Michael Orlitzky [Sat, 15 Oct 2011 22:14:34 +0000 (18:14 -0400)]
Define a few tests locally.
Define domain_point local to those tests.
Remove the 'xi' alias.

13 years agoUpdate some documentation.
Michael Orlitzky [Tue, 11 Oct 2011 16:11:36 +0000 (12:11 -0400)]
Update some documentation.

13 years agoUpdate the TODO once more.
Michael Orlitzky [Tue, 4 Oct 2011 20:08:22 +0000 (16:08 -0400)]
Update the TODO once more.

13 years agoClean up the imports/exports between MRI and Main.
Michael Orlitzky [Tue, 4 Oct 2011 19:56:38 +0000 (15:56 -0400)]
Clean up the imports/exports between MRI and Main.

13 years agoUn-inline two functions.
Michael Orlitzky [Tue, 4 Oct 2011 19:50:54 +0000 (15:50 -0400)]
Un-inline two functions.

13 years agoClean up imports/exports.
Michael Orlitzky [Tue, 4 Oct 2011 19:50:30 +0000 (15:50 -0400)]
Clean up imports/exports.
Remove some unused functions.

13 years agoImport explicitly in Assertions.hs.
Michael Orlitzky [Tue, 4 Oct 2011 19:26:58 +0000 (15:26 -0400)]
Import explicitly in Assertions.hs.

13 years agoImport from FunctionValues explicitly.
Michael Orlitzky [Tue, 4 Oct 2011 19:23:55 +0000 (15:23 -0400)]
Import from FunctionValues explicitly.

13 years agoPerformance improvement: don't compute coefficients by 'eval'ing Cardinals.
Michael Orlitzky [Tue, 4 Oct 2011 19:00:08 +0000 (15:00 -0400)]
Performance improvement: don't compute coefficients by 'eval'ing Cardinals.

13 years agoExport the record accessors from FunctionValues.
Michael Orlitzky [Tue, 4 Oct 2011 18:57:59 +0000 (14:57 -0400)]
Export the record accessors from FunctionValues.

13 years agoFix value_at for 2d slices.
Michael Orlitzky [Tue, 4 Oct 2011 14:51:52 +0000 (10:51 -0400)]
Fix value_at for 2d slices.

13 years agoUpdate the README and TODO.
Michael Orlitzky [Tue, 4 Oct 2011 04:57:42 +0000 (00:57 -0400)]
Update the README and TODO.

13 years agoUse test options to specify a 1000-test requirement.
Michael Orlitzky [Tue, 4 Oct 2011 03:54:33 +0000 (23:54 -0400)]
Use test options to specify a 1000-test requirement.

13 years agoUpdate the arbitrary instance for Cube to use smaller coordinates.
Michael Orlitzky [Tue, 4 Oct 2011 03:53:42 +0000 (23:53 -0400)]
Update the arbitrary instance for Cube to use smaller coordinates.

13 years agoDon't output function values when 'show'ing a cube.
Michael Orlitzky [Tue, 4 Oct 2011 00:04:52 +0000 (20:04 -0400)]
Don't output function values when 'show'ing a cube.

13 years agoUse a sensible definition for the all volumes positive test.
Michael Orlitzky [Tue, 4 Oct 2011 00:04:03 +0000 (20:04 -0400)]
Use a sensible definition for the all volumes positive test.

13 years agoGo back to the "simplified" determinant formula in an attempt to avoid overflows.
Michael Orlitzky [Mon, 3 Oct 2011 18:50:38 +0000 (14:50 -0400)]
Go back to the "simplified" determinant formula in an attempt to avoid overflows.

13 years agoUse a slightly more stable (I think?) formula for the {x,y,z}{min,max}.
Michael Orlitzky [Mon, 3 Oct 2011 02:14:14 +0000 (22:14 -0400)]
Use a slightly more stable (I think?) formula for the {x,y,z}{min,max}.

13 years agoUse the cleaner formula for 'det'.
Michael Orlitzky [Sun, 2 Oct 2011 21:54:30 +0000 (17:54 -0400)]
Use the cleaner formula for 'det'.

13 years agoImplement my own 4x4 determinant.
Michael Orlitzky [Sun, 2 Oct 2011 21:17:44 +0000 (17:17 -0400)]
Implement my own 4x4 determinant.

13 years agoReclassify some Grid tests as "slow."
Michael Orlitzky [Sun, 2 Oct 2011 16:16:19 +0000 (12:16 -0400)]
Reclassify some Grid tests as "slow."

13 years agoFix the FunctionValues value_at cases, and update the Grid tests to match.
Michael Orlitzky [Sun, 2 Oct 2011 16:09:50 +0000 (12:09 -0400)]
Fix the FunctionValues value_at cases, and update the Grid tests to match.

13 years agoBegin fixing value_at outside of the grid.
Michael Orlitzky [Sun, 2 Oct 2011 05:55:57 +0000 (01:55 -0400)]
Begin fixing value_at outside of the grid.

13 years agoRemove inlines (no performance difference).
Michael Orlitzky [Fri, 30 Sep 2011 16:00:56 +0000 (12:00 -0400)]
Remove inlines (no performance difference).

13 years agoRemove unused imports.
Michael Orlitzky [Thu, 29 Sep 2011 21:49:32 +0000 (17:49 -0400)]
Remove unused imports.

13 years agoRemove the (2.5) test, since I can't get it to pass. It is equivalent to the (2.6...
Michael Orlitzky [Thu, 29 Sep 2011 21:38:38 +0000 (17:38 -0400)]
Remove the (2.5) test, since I can't get it to pass. It is equivalent to the (2.6), (2.7), (2.8), and (2.9) identities whose tests *do* pass.

13 years agoAdd the section (2.9) tests.
Michael Orlitzky [Thu, 29 Sep 2011 21:25:03 +0000 (17:25 -0400)]
Add the section (2.9) tests.

13 years agoFix a naming conflict.
Michael Orlitzky [Thu, 29 Sep 2011 21:24:47 +0000 (17:24 -0400)]
Fix a naming conflict.

13 years agoFix some documentation.
Michael Orlitzky [Thu, 29 Sep 2011 19:55:17 +0000 (15:55 -0400)]
Fix some documentation.

13 years agoAdd the round_array function and use it in main3d.
Michael Orlitzky [Wed, 21 Sep 2011 00:34:13 +0000 (20:34 -0400)]
Add the round_array function and use it in main3d.

13 years agoFix a bunch of name conflicts by renaming 'c' to 'cube' everywhere.
Michael Orlitzky [Tue, 20 Sep 2011 17:24:40 +0000 (13:24 -0400)]
Fix a bunch of name conflicts by renaming 'c' to 'cube' everywhere.

13 years agoRename Tetrahedron.fv to Tetrahedron.function_values.
Michael Orlitzky [Tue, 20 Sep 2011 17:11:39 +0000 (13:11 -0400)]
Rename Tetrahedron.fv to Tetrahedron.function_values.
Move all of the Cube tests into the Cube module.
Re-enable that failing test.

13 years agoGet rid of the chunk code, and recompute the grid within the zoom traverse.
Michael Orlitzky [Tue, 20 Sep 2011 16:38:30 +0000 (12:38 -0400)]
Get rid of the chunk code, and recompute the grid within the zoom traverse.

13 years agoMove the Tetrahedron tests into the Tetrehedron module.
Michael Orlitzky [Tue, 20 Sep 2011 16:37:56 +0000 (12:37 -0400)]
Move the Tetrahedron tests into the Tetrehedron module.

13 years agoAdd a chunked version of zoom.
Michael Orlitzky [Wed, 14 Sep 2011 17:38:41 +0000 (13:38 -0400)]
Add a chunked version of zoom.
Clean up Main, add a chunked 2d version.

13 years agoSwitch the default compiler back to GHC.
Michael Orlitzky [Wed, 14 Sep 2011 17:36:42 +0000 (13:36 -0400)]
Switch the default compiler back to GHC.

13 years agoAdd some convenience functions to write chunks/slices to bitmaps.
Michael Orlitzky [Wed, 14 Sep 2011 17:35:47 +0000 (13:35 -0400)]
Add some convenience functions to write chunks/slices to bitmaps.

13 years agoAdd some junk to Main where I am experimenting.
Michael Orlitzky [Wed, 14 Sep 2011 13:31:13 +0000 (09:31 -0400)]
Add some junk to Main where I am experimenting.

13 years agoAdd transpose_zx and z_slice3 functions to MRI.
Michael Orlitzky [Wed, 14 Sep 2011 13:30:44 +0000 (09:30 -0400)]
Add transpose_zx and z_slice3 functions to MRI.

13 years agoAdd an export list to Examples.
Michael Orlitzky [Wed, 14 Sep 2011 13:29:47 +0000 (09:29 -0400)]
Add an export list to Examples.

13 years agoMake Main a little more amenable to changes.
Michael Orlitzky [Fri, 9 Sep 2011 14:22:53 +0000 (10:22 -0400)]
Make Main a little more amenable to changes.

13 years agoBracket doubles instead of ints. This gives us /slightly/ more precision when bracket...
Michael Orlitzky [Fri, 9 Sep 2011 03:22:40 +0000 (23:22 -0400)]
Bracket doubles instead of ints. This gives us /slightly/ more precision when bracketing after interpolation.

13 years agoRemove the Tetrahedron 'number' field from tests.
Michael Orlitzky [Thu, 8 Sep 2011 21:36:35 +0000 (17:36 -0400)]
Remove the Tetrahedron 'number' field from tests.

13 years agoRemove the Tetrahedron 'number' field.
Michael Orlitzky [Thu, 8 Sep 2011 21:36:13 +0000 (17:36 -0400)]
Remove the Tetrahedron 'number' field.

13 years agoOne-line cleanup.
Michael Orlitzky [Thu, 8 Sep 2011 21:35:43 +0000 (17:35 -0400)]
One-line cleanup.

13 years agoForce a few maps in the MRI module.
Michael Orlitzky [Thu, 8 Sep 2011 21:35:06 +0000 (17:35 -0400)]
Force a few maps in the MRI module.
Separate the flip16 (swap_bytes) map from bracket.