- 09 Jan, 2014 1 commit
-
-
Liam M. Healy authored
Move formatting functions, and in the case of #'nf, write new methods. Functions and methods are placed in the appropriate system directory. Systems antik-base, grid, foreign-array all load an all tests pass at each system load.
-
- 08 Jan, 2014 1 commit
-
-
Liam M. Healy authored
Eliminate system input-output, fold most into antik-base. Still needs separation of grid function and currently does not load.
-
- 05 Jan, 2014 1 commit
-
-
Liam M. Healy authored
+ All single-argument behavior should be defined in the ordinary functions. + All methods with sequence as one or both arguments moved to grid (because of the need to check for grids), defined by defmethods-dyadic-sequences + If one argument is a sequence, scalar argument is mapped to each element + If both arguments are sequences, elementwise map on each, so sequences have to be the same length. + Warning from ordinary functions if an argument is nil. + Tests for 1, 2, 3 arguments added/organized in [[file:~/mathematics/antik/tests/numbers.lisp::(lisp-unit:define-test%20numbers][numbers.lisp]]. + Add test cases in antik/grid/tests/sequence.lisp for one or both argunments a sequence + All tests pass with antik-base only and grid systems loaded. #+BEGIN_SRC lisp (ql:quickload :lisp-unit) (ql:quickload :grid) :pa antik (lisp-unit:run-tests) NUMBERS: 40 assertions passed, 0 failed. SEQUENCES: 12 assertions passed, 0 failed. TOTAL: 52 assertions passed, 0 failed, 0 execution errors. #+END_SRC
-
- 28 Dec, 2013 1 commit
-
-
Liam M. Healy authored
Two new functions in new file grid/index-functions.lisp make-grid-from-index make-grid-sequential-elements will create grids from the index or indices. The first one is general, the second one creates elements as an affine transformation (step/offset) of the indices. These functions are more general than and replace the test-grid-double-float and offset-ifd which were written for test grid generation.
-
- 25 Nov, 2013 1 commit
-
-
Liam M. Healy authored
Separate, add systems new systems that were in the old monolithic antik.asd: input-output, math-high, mathematics. Make the retrieval of earth orientation parameters (for calibrating UT1 timescale) a connected system when Drakma is loaded.
-
- 23 Nov, 2013 1 commit
-
-
Liam M. Healy authored
As an interim step in separation of systems, physical-dimension is now loadable if grid is loaded. All grid tests pass. However, there are failures basic Antik functions and tests are not properly loaded.
-
- 09 Mar, 2013 4 commits
-
-
Liam M. Healy authored
-
Liam M. Healy authored
Split off foreign-array from system grid, and updated README.txt to explain the separate systems. Both grid and foreign-array compile, load, and pass tests with no errors on SBCL 1.0.51.34 and Ubuntu 11.10. However physical-dimension gets an error while compiling.
-
Liam M. Healy authored
New systems grid, antik-base which load by themselves, and grid tests run if lisp-unit is loaded. The physical-dimension system gets an error on load.
-
Liam M. Healy authored
-
- 21 Jan, 2013 1 commit
-
-
Liam M. Healy authored
Define a new function #'make-parameters-from-table that is designed to read an org-mode table that is parsed and passed to CL by org-babel. There is some documentation and usage examples in the new file input-output/org-mode.lisp; this should be separated out into a documentation file and expanded. Tests should be designed and added.
-
- 03 Dec, 2012 1 commit
-
-
Liam M. Healy authored
New system math-high-tests test with one test, linear-algebra, that initially has a single form to test addition of a vector to its reverse. The plan is that this test will contain tests of dyadic arithmetic functions (addition, etc.). Changed the name of files higher.lisp to norm-vector-product.lisp, as it is more specific.
-
- 30 Dec, 2011 1 commit
-
-
Liam M. Healy authored
New function read-indexed-data will read data line-by-line with index parameters and value. The index parameters may be indices or a set of numbers that maps to indices. Input can be a stream, file, or string. Possible improvements would be: accept make-simple-grid keyword arguments, fill in an existing grid if supplied, do not require maximum-index-parameters.
-
- 23 Oct, 2011 1 commit
-
-
Liam M. Healy authored
All conversions (including complex) are now performed in the fsbv branch of CFFI. There is no need to load CFFI-FSBV because there are no foreign libraries called with structures by value. Test conversions including complex with the aref test.
-
- 17 Oct, 2011 1 commit
-
-
Liam M. Healy authored
-
- 03 Oct, 2011 1 commit
-
-
Liam M. Healy authored
Eliminate FSBV and use CFFI-FSBV, define structures and translations for complex. This has an error in loading from SBCL, because mem-aref is apparently not expected to do the translation of the complex.
-
- 10 Sep, 2011 1 commit
-
-
Liam M. Healy authored
The definition of generic math functions (addition, multiplication, etc.) has been moved from grid/generic.lisp to init/generic.lisp, and so is loaded before grid is loaded, with the methods that use grid functions moved to grid/functions.lisp. This eliminates two warnings that were appearing in compilation.
-
- 26 Aug, 2011 2 commits
-
-
Liam M. Healy authored
-
Liam M. Healy authored
Apparently asdf-system-connections requires must be loaded _before_ the system is loaded; trying to make it a dependent system seems to cause it to drop the main system directory name in the path. To make this load on quicklisp, put an explicit load of asdf-system-connections in the asd file.
-
- 23 Aug, 2011 1 commit
-
-
Liam M. Healy authored
-
- 11 Aug, 2011 1 commit
-
-
Liam M. Healy authored
-
- 09 Jun, 2011 1 commit
-
-
Liam M. Healy authored
A non-scalar dimension pq grid can have all units the same, and therefore have the same units as a scalar dimension pq grid; modified #'equal-dimension to check that case.
-
- 02 Apr, 2011 1 commit
-
-
Liam M. Healy authored
The argument to the derivative function in the one-dimensional Newton method now is made into a pq before the user's function is called, and the result is turned into a number.
-
- 30 Mar, 2011 1 commit
-
-
Liam M. Healy authored
-
- 20 Mar, 2011 1 commit
-
-
Liam M. Healy authored
-
- 27 Feb, 2011 1 commit
-
-
Liam M. Healy authored
Format non-pq grids, both vectors and matrices, plain and LaTeX. Test function in tests/format-grid.lisp produces output with different combinations of formatting parameters.
-
- 22 Feb, 2011 1 commit
-
-
Liam M. Healy authored
When performing a mathematical operation with a sequence and a non-sequence, the sequence cannot be a grid. Checking for this requires relocating generic.lisp with the generic mathematics definitions to a place in which it will be loaded after grid:gridp is defined.
-
- 16 Feb, 2011 1 commit
-
-
Liam M. Healy authored
Move #'funcall-dyadic to a new file physical-quantities/funcall.lisp so that it can use gird:grid and grid:gridp, which aren't defined where it is called, in generic.lisp.
-
- 12 Feb, 2011 1 commit
-
-
Liam M. Healy authored
New definitions in degree-symbol.lisp so that the symbol is properly recognized and used as unit of angle once the system connection is loaded.
-
- 10 Feb, 2011 1 commit
-
-
Liam M. Healy authored
-
- 30 Jan, 2011 2 commits
-
-
Liam M. Healy authored
The cl-unicode system is needed only to get the degree symbol, so make this a system-connection.
-
Liam M. Healy authored
Move user-friendly linear algebra from GSLL, update the invert-matrix function to use optional arguments in GSLL functions and return the determinant as the second value, and add a determinant function. Also copy the input matrix in these two functions because gsl:LU-decomposition alters the input matrix. Test with (* (invert-matrix gsl::*vander4*) gsl::*vander4*).
-
- 27 Jan, 2011 1 commit
-
-
Liam M. Healy authored
-
- 23 Jan, 2011 1 commit
-
-
Liam M. Healy authored
Use make-pq-object instead of make-pq-dimel, include the package name in grid:gridp calls. Change initarg to scalar-dimension for consistency. Change check-type to assert so that it doesn't try to setf pq-magnitude.
-
- 18 Jan, 2011 1 commit
-
-
Liam M. Healy authored
-
- 15 Jan, 2011 3 commits
-
-
Liam M. Healy authored
Return a zero grid from normalize if the norm is zero. Add pythagorean-sum and pythagorean-complement.
-
Liam M. Healy authored
Move intermediate value printing from nunmerica; these should eventually be removed. Export time quantity symbols.
-
Liam M. Healy authored
Load angle-component.lisp, but with the angle class and associated methods commented out, because it was never fully developed and the creation of a class creates a type that overwrites the deftype angle.
-
- 14 Jan, 2011 2 commits
-
-
Liam M. Healy authored
Add math-high system to include useful definitions that may call libraries not included in Antik. Started with a high-level version of GSLL's one-dimensional optmization that is invoked with a single call and includes the necessary iteration and low-level GSLL calls.
-
Liam M. Healy authored
Define types for each of the physical dimensions, e.g. 'length, 'mass. For several symbols, there are potential conflicts: 'length, 'time conflict with cl:length cl:time, so they have been shadowed and pass-through macros defined. Changed 'speed to 'velocity because 'cl:speed can't be bypassed the same way. There is a conflict of 'acceleration with 'gsll:acceleration class that needs to be resolved in GSLL.
-