1. 15 Mar, 2014 1 commit
    • Liam M. Healy's avatar
      Fix computation of destination grid · 738c9440
      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.
      738c9440
  2. 07 Feb, 2014 1 commit
  3. 17 Jan, 2014 1 commit
    • Liam M. Healy's avatar
      New macro if-defined, permit undefined conditionals · 2716a4a1
      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.
      2716a4a1
  4. 15 Jan, 2014 2 commits
    • Liam M. Healy's avatar
      Define *nf-t-hook*, load grid/format-output.lisp · 6279d898
      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.
      6279d898
    • Liam M. Healy's avatar
      Remove, reorder files in modules, add stream argument to time-interval-format · 363580ca
      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.
      363580ca
  5. 14 Jan, 2014 1 commit
    • Liam M. Healy's avatar
      Put time-interval into connected system datime-pqd · c8fab667
      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.
      c8fab667
  6. 09 Jan, 2014 1 commit
  7. 08 Jan, 2014 1 commit
    • Liam M. Healy's avatar
      Eliminate system input-output · ee2c6490
      Liam M. Healy authored
      Eliminate system input-output, fold most into antik-base. Still needs
      separation of grid function and currently does not load.
      ee2c6490
  8. 06 Jan, 2014 1 commit
  9. 05 Jan, 2014 3 commits
    • Liam M. Healy's avatar
      Fix loading of eop.lisp · fefd48d2
      Liam M. Healy authored
      fefd48d2
    • Liam M. Healy's avatar
      Dyadic functions +, -, *, / with single or sequence arguments · 208c5b18
      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
      208c5b18
    • Liam M. Healy's avatar
      New system date-time · 976244eb
      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
      976244eb
  10. 28 Dec, 2013 2 commits
    • Liam M. Healy's avatar
    • Liam M. Healy's avatar
      Create grids from index/indices · 141dbe9b
      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.
      141dbe9b
  11. 26 Dec, 2013 2 commits
  12. 16 Dec, 2013 1 commit
  13. 30 Nov, 2013 1 commit
  14. 28 Nov, 2013 1 commit
  15. 27 Nov, 2013 1 commit
    • Liam M. Healy's avatar
      Move definitions between systems · 579cf96b
      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.
      579cf96b
  16. 25 Nov, 2013 1 commit
    • Liam M. Healy's avatar
      Separate, add systems input-output, math-high, mathematics · f0472919
      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.
      f0472919
  17. 23 Nov, 2013 2 commits
    • Liam M. Healy's avatar
      Move arithmetic methods that use funcall-dyadic, organize tests · 514bbac1
      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.
      514bbac1
    • Liam M. Healy's avatar
      System physical-dimension, requires grid, loadable · e670f326
      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.
      e670f326
  18. 09 Nov, 2013 2 commits
  19. 22 Oct, 2013 1 commit
    • Liam M. Healy's avatar
      Fix #'right-angle · ceee01b4
      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.
      ceee01b4
  20. 25 Sep, 2013 1 commit
  21. 21 Sep, 2013 2 commits
  22. 24 Jun, 2013 1 commit
    • Liam M. Healy's avatar
      Fix iterate extension to increment properly · e85d75dc
      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.
      e85d75dc
  23. 19 Jun, 2013 1 commit
  24. 13 Jun, 2013 4 commits
  25. 12 Jun, 2013 1 commit
  26. 04 Jun, 2013 1 commit
  27. 03 Jun, 2013 1 commit
    • Liam M. Healy's avatar
      Systems of units names in the units table · 6640ba5e
      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*.
      6640ba5e
  28. 01 Jun, 2013 2 commits