1. 25 Apr, 2015 1 commit
  2. 24 Apr, 2015 1 commit
  3. 23 Mar, 2013 1 commit
    • Liam M. Healy's avatar
      System of units specification is through an nf-option · 6ca09dfb
      Liam M. Healy authored
      The specification of the system-of-units is through an nf-option, and
      no longer passed as arguments to functions.  Systems of units (with or
      without augmented units) are made via make-sysunits or
      define-system-of-units, set-default-system-of-units that call it.
      
      This does not compile.
      6ca09dfb
  4. 08 Oct, 2011 1 commit
    • Liam M. Healy's avatar
      Add or subtract on pq grid using matching dimel and scalar-dimension · 96feef76
      Liam M. Healy authored
      Addition and subtraction on pq grid makes a result with consistent
      scalar-dimension and dimel slots, thanks to a second return value from
      dimel-or-not and therefore equal-dimension.  Also, a more refined
      check on make-pq-object if #+debug holds, so that trying to make a pq
      with a scalar dimel and scalar-dimension nil will give an (incorrectly
      labeled) error.
      96feef76
  5. 19 Aug, 2011 1 commit
    • Liam M. Healy's avatar
      Fix type for :dimension slot in physical-quantity · 1ac3bca2
      Liam M. Healy authored
      CCL is fussier about the type definitions given for slots, so redefine
      the :dimension slot for physical-quantity to be correct, and not just
      'list.  Improved debugging check for make-pq-object will now check a
      vector with non-scalar units.
      1ac3bca2
  6. 04 Aug, 2011 1 commit
  7. 05 Mar, 2011 1 commit
  8. 01 Mar, 2011 1 commit
  9. 26 Feb, 2011 1 commit
  10. 12 Feb, 2011 1 commit
  11. 06 Feb, 2011 1 commit
  12. 30 Jan, 2011 1 commit
    • Liam M. Healy's avatar
      Don't coerce-value non-numbers; concatenate-grids with pq non-scalar · 1e0c7f4d
      Liam M. Healy authored
      The function coerce-value won't try to coerce non-numbers, so that
      physical quantities provided as values are passed untouched.  This
      permits concatenate-grids with a designated non-T element-type to
      work, so a test for a foreign-array pq grid has been added, and
      passes. 
      
      GRID-ARRAY-UNITS: 5 assertions passed, 0 failed.
      GRID-SCALAR-UNITS: 9 assertions passed, 0 failed.
      NUMBERS: 38 assertions passed, 0 failed.
      UNITS: 9 assertions passed, 0 failed.
      TOTAL: 61 assertions passed, 0 failed, 0 execution errors.
      1e0c7f4d
  13. 28 Jan, 2011 1 commit
    • Liam M. Healy's avatar
      Fix creation-form for lists; add #+debug conditionalizations · a133bd3c
      Liam M. Healy authored
      The creation form for lists was incorrect; it should be quoted in the
      defmethod for lists and not quoted in the defmethod for
      physical-quantity (for pq-dimension).  This caused files with #_ in
      them to fail to load, even though they were compilable.  
      
      Add #+debug conditionalizations to print-ojbect PQs unreadably in all
      cases (with magnitude) and to make sure dimels pass dimelp on input to
      make-pq-object.
      a133bd3c
  14. 24 Jan, 2011 2 commits
  15. 23 Jan, 2011 1 commit
  16. 18 Jan, 2011 1 commit
    • Liam M. Healy's avatar
      Fresh start at making physical quantities · e2a78fd1
      Liam M. Healy authored
      Start two new files, physical-quantities/grid.lisp and
      physical-quantities/scalar.lisp to handle making physical quantities.
      Preliminary forms are written but they have not been compiled or
      tested.
      e2a78fd1