- 20 Jun, 2014 1 commit
-
-
Liam M. Healy authored
-
- 07 Apr, 2014 1 commit
-
-
Liam M. Healy authored
-
- 15 Mar, 2014 1 commit
-
-
Liam M. Healy authored
Search map-n-grids to search the sources (first to last) for a model grid from which to define the destination, instead of using the first grid. Commit 17e1abc2 was an incorrect implementation; this commit fixes it so that grid:slice now works on pq-grids. A test has been added to grid-array-units to check for correct function.
-
- 07 Feb, 2014 1 commit
-
-
Liam M. Healy authored
-
- 17 Jan, 2014 1 commit
-
-
Liam M. Healy authored
New macro if-defined permits defining conditionals where the test-form clause will be NIL if the function is not yet defined, thereby skipping the then-clause, which has function call that will be defined when the test-form is. This replaces the hook special variable for grid in #'nf.
-
- 15 Jan, 2014 2 commits
-
-
Liam M. Healy authored
Format (nf) grids in the T method of #'nf by using newly defined *nf-t-hook*. If grid is not loaded, this variable is nil; once grid is loaded, then it tells the method to call nf-grid on the object if it's a grid. All tests pass on several combinations of system loads.
-
Liam M. Healy authored
In date-time.asd, remove duplicate file convert-timescale from connected system datime-pqd, and load convert-timescale at the end of date-time. Add stream argument to time-interval-format. The systems date-time, physical-dimension, and lisp-unit can be simultaneously loaded, and the :antik tests pass.
-
- 14 Jan, 2014 1 commit
-
-
Liam M. Healy authored
New connected system datime-pqd loads when date-time and physical-dimension load, and contains definitions that deal with time intervals and their conversion to physical quantities with dimension. This does not load correctly.
-
- 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.
-
- 06 Jan, 2014 1 commit
-
-
Liam M. Healy authored
-
- 05 Jan, 2014 3 commits
-
-
Liam M. Healy authored
-
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
-
Liam M. Healy authored
Load all datime functions together at the end of the physical-quantities module In anticipation of making a separate module/system for date and time, reorder load in physical-quantities and confirm that it compiles/loads and all tests pass. Move date-time into separate directory New system date-time
-
- 28 Dec, 2013 2 commits
-
-
Liam M. Healy authored
-
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.
-
- 26 Dec, 2013 2 commits
-
-
-
Liam M. Healy authored
Added an argument to #'copy-to for the element type, defaulting to *default-element-type*, with discouraging words for its use in files (vs. interactively) unless all arguments are supplied, due to the specials used that could be changed with unexpected results. Change uses of #'copy-to to #'copy because the element type needs to clearly follow the latter function's rules.
-
- 16 Dec, 2013 1 commit
-
-
Liam M. Healy authored
-
- 30 Nov, 2013 1 commit
-
-
Liam M. Healy authored
Define new connected systems math-high-pd, io-fa and move definitions so that they are loaded in the proper order.
-
- 28 Nov, 2013 1 commit
-
-
Liam M. Healy authored
-
- 27 Nov, 2013 1 commit
-
-
Liam M. Healy authored
Move some definitions of print-grid-readably to grid from foreign-array, because physical-dimension relies on this function being defined. Remove the (T T) method left in the defgeneric for /i.
-
- 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 2 commits
-
-
Liam M. Healy authored
Calls to funcall-dyadic only should happen once that function has been defined, and it is meant to handle grid/pq case anyway, so the arithmetic methods (t t) that called it have been moved to where it is defined, which is in the physical-dimension system. Tests have been reorganized, and all pass.
-
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 Nov, 2013 2 commits
-
-
Liam M. Healy authored
-
Liam M. Healy authored
Conflicts: antik-OBSOLETE.asd grid/functions.lisp physical-quantities/grid.lisp
-
- 22 Oct, 2013 1 commit
-
-
Liam M. Healy authored
The function right-angle will find an arbitrary vector in the plane perpendicular to a given vector. It would possibly return the zero vector. This version is shorter and should always produce a non-zero vector.
-
- 25 Sep, 2013 1 commit
-
-
Liam M. Healy authored
-
- 21 Sep, 2013 2 commits
-
-
Liam M. Healy authored
In with-parameters, right-hand sides may use old values of parameters like 'let.
-
Liam M. Healy authored
-
- 24 Jun, 2013 1 commit
-
-
Liam M. Healy authored
In the iterate extension :matrix-element, the first element of following rows was repeated due to an error in the logic of the expansion. Example: (defparameter m1 #m(1 2 3 ^ 0 6 8)) (iter:iter (iter:for e :matrix-element m1) (princ e) (princ " ")) 1.0 2.0 3.0 0.0 0.0 6.0 8.0 This is now fixed. Problem reported on SO, and sent to mailing list by Joshua Taylor.
-
- 19 Jun, 2013 1 commit
-
-
Liam M. Healy authored
-
- 13 Jun, 2013 4 commits
-
-
Liam M. Healy authored
-
Liam M. Healy authored
-
Liam M. Healy authored
-
Liam M. Healy authored
-
- 12 Jun, 2013 1 commit
-
-
Liam M. Healy authored
The meaning of #m is ambiguous, depending on grid:*default-grid-type*, so tests have been changed with explicit grid:make-foreign-array regardless of grid:*default-grid-type*.
-
- 04 Jun, 2013 1 commit
-
-
Liam M. Healy authored
-
- 03 Jun, 2013 1 commit
-
-
Liam M. Healy authored
Systems of units are no longer dynamic variables or setting default systems symbol macros. Instead, the systems' names are placed in the table with unit names, *unit-information*.
-