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

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

12 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.

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

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

12 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.

12 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.

12 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.

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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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}.

12 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'.

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

12 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."

12 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.

12 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.

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

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

12 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.

12 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.

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

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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

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

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

12 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.

12 years agoAdd MRI to Everything.
Michael Orlitzky [Thu, 8 Sep 2011 21:28:44 +0000 (17:28 -0400)]
Add MRI to Everything.

12 years agoAdd -caf-all to the profile targets.
Michael Orlitzky [Thu, 8 Sep 2011 18:20:44 +0000 (14:20 -0400)]
Add -caf-all to the profile targets.

12 years agoModify Main/MRI to operate on the scalar values (as opposed to the individual RGB...
Michael Orlitzky [Wed, 7 Sep 2011 23:17:08 +0000 (19:17 -0400)]
Modify Main/MRI to operate on the scalar values (as opposed to the individual RGB ones).

12 years agoAdd the 'drop_z' function.
Michael Orlitzky [Wed, 7 Sep 2011 23:16:39 +0000 (19:16 -0400)]
Add the 'drop_z' function.

12 years agoGeneralize 'Values' to n-dimensions; create type synonyms for n = 1,2,3.
Michael Orlitzky [Wed, 7 Sep 2011 22:56:55 +0000 (18:56 -0400)]
Generalize  'Values' to n-dimensions; create type synonyms for n = 1,2,3.

12 years agoAdd the MRI code as it is after its first successful output.
Michael Orlitzky [Wed, 7 Sep 2011 19:58:40 +0000 (15:58 -0400)]
Add the MRI code as it is after its first successful output.

12 years agoMerge branch 'uncached_vector'
Michael Orlitzky [Wed, 7 Sep 2011 06:07:24 +0000 (02:07 -0400)]
Merge branch 'uncached_vector'

Conflicts:
spline3/src/Main.hs

12 years agoFix a comment.
Michael Orlitzky [Wed, 7 Sep 2011 06:04:11 +0000 (02:04 -0400)]
Fix a comment.

12 years agoUse unsafe versions of index and traverse.
Michael Orlitzky [Wed, 7 Sep 2011 05:26:41 +0000 (01:26 -0400)]
Use unsafe versions of index and traverse.

12 years agoConvert the polynomial sum to a vector sum.
Michael Orlitzky [Wed, 7 Sep 2011 04:07:28 +0000 (00:07 -0400)]
Convert the polynomial sum to a vector sum.

12 years agoSet zoom to 4x.
Michael Orlitzky [Wed, 7 Sep 2011 01:39:51 +0000 (21:39 -0400)]
Set zoom to 4x.

12 years ago4x, completely uncached.
Michael Orlitzky [Wed, 7 Sep 2011 01:39:14 +0000 (21:39 -0400)]
4x, completely uncached.

12 years agoFix the one failing test and its documentation.
Michael Orlitzky [Tue, 6 Sep 2011 17:27:27 +0000 (13:27 -0400)]
Fix the one failing test and its documentation.

12 years agoFix a few test warnings and one documentation warning.
Michael Orlitzky [Tue, 6 Sep 2011 17:11:13 +0000 (13:11 -0400)]
Fix a few test warnings and one documentation warning.

12 years agoChange some names in the test suite.
Michael Orlitzky [Mon, 5 Sep 2011 22:59:07 +0000 (18:59 -0400)]
Change some names in the test suite.

12 years agoUpdate the 'disjoint' function to work on Vectors instead of lists.
Michael Orlitzky [Mon, 5 Sep 2011 22:58:40 +0000 (18:58 -0400)]
Update the 'disjoint' function to work on Vectors instead of lists.

12 years agoUpdate the Cube tests to match the new code.
Michael Orlitzky [Mon, 5 Sep 2011 22:55:36 +0000 (18:55 -0400)]
Update the Cube tests to match the new code.

12 years agoAdd back an accidentally-deleted line.
Michael Orlitzky [Mon, 5 Sep 2011 22:55:17 +0000 (18:55 -0400)]
Add back an accidentally-deleted line.

12 years agoSpeed up the find_containing_tetrahedron function by using Data.Vector.
Michael Orlitzky [Mon, 5 Sep 2011 22:31:25 +0000 (18:31 -0400)]
Speed up the find_containing_tetrahedron function by using Data.Vector.

12 years agoUse pattern matching in the 'center' function. Might speed things up?
Michael Orlitzky [Mon, 5 Sep 2011 21:19:26 +0000 (17:19 -0400)]
Use pattern matching in the 'center' function. Might speed things up?
Add the Tetrahedron number to its show output.

12 years agoAdd the 'dot' function for Points.
Michael Orlitzky [Mon, 5 Sep 2011 21:18:57 +0000 (17:18 -0400)]
Add the 'dot' function for Points.

12 years agoMake a LLVM/GCC distinction in the profile targets.
Michael Orlitzky [Mon, 5 Sep 2011 21:04:31 +0000 (17:04 -0400)]
Make a LLVM/GCC distinction in the profile targets.

12 years agoMemoize the zoom function via PolynomialArray.
Michael Orlitzky [Sun, 4 Sep 2011 13:03:47 +0000 (09:03 -0400)]
Memoize the zoom function via PolynomialArray.

12 years agoFix the Cube tests re: the 'tetrahedron' change.
Michael Orlitzky [Sun, 4 Sep 2011 13:02:47 +0000 (09:02 -0400)]
Fix the Cube tests re: the 'tetrahedron' change.

12 years agoUse one top-level function, 'tetrahedron', and take an Int parameter rather than...
Michael Orlitzky [Sun, 4 Sep 2011 13:02:01 +0000 (09:02 -0400)]
Use one top-level function, 'tetrahedron', and take an Int parameter rather than enumerating 24 different functions.

12 years agoAdd the "number" field for tetrahedra.
Michael Orlitzky [Sun, 4 Sep 2011 12:37:23 +0000 (08:37 -0400)]
Add the "number" field for tetrahedra.

12 years agoAdd the PolynomialArray module.
Michael Orlitzky [Sun, 4 Sep 2011 12:22:53 +0000 (08:22 -0400)]
Add the PolynomialArray module.

12 years agoAdd another TODO.
Michael Orlitzky [Sun, 4 Sep 2011 12:01:42 +0000 (08:01 -0400)]
Add another TODO.

12 years agoMove the Grid tests into the Grid module.
Michael Orlitzky [Sun, 4 Sep 2011 00:11:02 +0000 (20:11 -0400)]
Move the Grid tests into the Grid module.

12 years agoMove the Cardinal tests into the Cardinal module.
Michael Orlitzky [Sat, 3 Sep 2011 23:49:37 +0000 (19:49 -0400)]
Move the Cardinal tests into the Cardinal module.

12 years agoA bunch more test cleanup.
Michael Orlitzky [Sat, 3 Sep 2011 22:40:14 +0000 (18:40 -0400)]
A bunch more test cleanup.

12 years agoDefault to compiling with llvm.
Michael Orlitzky [Sat, 3 Sep 2011 20:55:40 +0000 (16:55 -0400)]
Default to compiling with llvm.
Add a 'gcc' makefile target.

12 years agoMove the FunctionValues tests into the FunctionValues module.
Michael Orlitzky [Sat, 3 Sep 2011 20:54:53 +0000 (16:54 -0400)]
Move the FunctionValues tests into the FunctionValues module.

12 years agoAdd some C optimizations.
Michael Orlitzky [Sat, 3 Sep 2011 14:56:03 +0000 (10:56 -0400)]
Add some C optimizations.
Minor makefile cleanup.

12 years agoOnly compute 'cubes' once, and store it in a new Grid field, cube_grid.
Michael Orlitzky [Fri, 2 Sep 2011 16:58:40 +0000 (12:58 -0400)]
Only compute 'cubes' once, and store it in a new Grid field, cube_grid.

12 years agoFix (I think) the cube offset issue.
Michael Orlitzky [Fri, 2 Sep 2011 16:41:17 +0000 (12:41 -0400)]
Fix (I think) the cube offset issue.

12 years agoFinish the precomputed_volume optimization.
Michael Orlitzky [Fri, 2 Sep 2011 15:03:12 +0000 (11:03 -0400)]
Finish the precomputed_volume optimization.

12 years agoFix a few test warnings.
Michael Orlitzky [Fri, 2 Sep 2011 14:48:40 +0000 (10:48 -0400)]
Fix a few test warnings.

12 years agoBegin writing the precomputed_volume feature again.
Michael Orlitzky [Fri, 2 Sep 2011 14:47:06 +0000 (10:47 -0400)]
Begin writing the precomputed_volume feature again.

12 years agoRevert "Attempt to use precomputed volumes everywhere, tests fail en masse."
Michael Orlitzky [Fri, 2 Sep 2011 14:35:06 +0000 (10:35 -0400)]
Revert "Attempt to use precomputed volumes everywhere, tests fail en masse."

This reverts commit ffc644b4eaf951619bfe59a2050f455814263cb2.

12 years agoAttempt to use precomputed volumes everywhere, tests fail en masse.
Michael Orlitzky [Fri, 2 Sep 2011 13:34:42 +0000 (09:34 -0400)]
Attempt to use precomputed volumes everywhere, tests fail en masse.

12 years agoAdd a new test group, slow_tests, that is run after all of the others.
Michael Orlitzky [Fri, 2 Sep 2011 13:16:16 +0000 (09:16 -0400)]
Add a new test group, slow_tests, that is run after all of the others.

12 years agoMake test_trilinear9x9x9_reproduced slow again.
Michael Orlitzky [Fri, 2 Sep 2011 13:15:12 +0000 (09:15 -0400)]
Make test_trilinear9x9x9_reproduced slow again.
Add a new failing test: prop_cube_indices_never_go_out_of_bounds.

12 years agoAdd another guard on calculate_containing_cube_coordinate.
Michael Orlitzky [Fri, 2 Sep 2011 13:13:55 +0000 (09:13 -0400)]
Add another guard on calculate_containing_cube_coordinate.

12 years agoLimit the size of arbitrary Values3D, and prevent empty dimensions.
Michael Orlitzky [Fri, 2 Sep 2011 13:09:23 +0000 (09:09 -0400)]
Limit the size of arbitrary Values3D, and prevent empty dimensions.

12 years agoFix the broken Arbitrary instance of Values3D.
Michael Orlitzky [Fri, 2 Sep 2011 03:17:15 +0000 (23:17 -0400)]
Fix the broken Arbitrary instance of Values3D.

12 years agoSpeed up the Tetrahedron contains_point function by dropping the useless factor of...
Michael Orlitzky [Fri, 2 Sep 2011 02:13:04 +0000 (22:13 -0400)]
Speed up the Tetrahedron contains_point function by dropping the useless factor of its volume.

12 years agoUse an IArray for the cubes and cube_at functions.
Michael Orlitzky [Fri, 2 Sep 2011 00:23:57 +0000 (20:23 -0400)]
Use an IArray for the cubes and cube_at functions.

12 years agoAdd the data folder with a .gitignore.
Michael Orlitzky [Thu, 1 Sep 2011 17:20:09 +0000 (13:20 -0400)]
Add the data folder with a .gitignore.

12 years agoAdd tests for some functions used in the new 'find_containing_tetrahedron'.
Michael Orlitzky [Thu, 1 Sep 2011 17:02:23 +0000 (13:02 -0400)]
Add tests for some functions used in the new 'find_containing_tetrahedron'.

12 years agoReplace the 'find_containing_tetrahedra' function with a more-efficient 'find_contain...
Michael Orlitzky [Thu, 1 Sep 2011 17:01:45 +0000 (13:01 -0400)]
Replace the 'find_containing_tetrahedra' function with a more-efficient 'find_containing_tetrahedron'.

12 years agoAdd the 'disjoint' function.
Michael Orlitzky [Thu, 1 Sep 2011 16:58:37 +0000 (12:58 -0400)]
Add the 'disjoint' function.

12 years agoEven more Tetrahedron de-dupe.
Michael Orlitzky [Wed, 31 Aug 2011 18:14:26 +0000 (14:14 -0400)]
Even more Tetrahedron de-dupe.

12 years agoRemove some completed TODO entries.
Michael Orlitzky [Wed, 31 Aug 2011 18:03:58 +0000 (14:03 -0400)]
Remove some completed TODO entries.

12 years agoSpeed up the trilinear9x9x9 test.
Michael Orlitzky [Wed, 31 Aug 2011 18:02:12 +0000 (14:02 -0400)]
Speed up the trilinear9x9x9 test.

12 years agoDe-dupe some more Tetrahedron tests.
Michael Orlitzky [Wed, 31 Aug 2011 17:59:32 +0000 (13:59 -0400)]
De-dupe some more Tetrahedron tests.

12 years agoAdd -fno-spec-constr-count to the GHC command line.
Michael Orlitzky [Wed, 31 Aug 2011 13:28:46 +0000 (09:28 -0400)]
Add -fno-spec-constr-count to the GHC command line.