1. 23 Nov, 2013 1 commit
  2. 25 Mar, 2013 1 commit
    • Liam M. Healy's avatar
      Complete changes for system of units specification · bc899205
      Liam M. Healy authored
      - Fix number of arguments in calls to functions that no longer take
        sysunits or addition-units arguments.
      - Change nf-option so that it works dynamically, i.e., the default
        value is retrieved at run time, not macro expansion time.
      - Name argument to parameter-value must be in the keyword package.
      - The system of units can be nil, in which case an unreadable object
        is printed, with the sexp for the dimensions printed.  
      - New variable *basis-physical-dimensions* used to give the dimension
        without units.
      - All nf definitions in a separate file.
      System now compiles and loads without error.
  3. 16 Mar, 2013 1 commit
  4. 09 Mar, 2013 1 commit
    • Liam M. Healy's avatar
      New systems grid, antik-base · d7af2a3c
      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.
  5. 24 Nov, 2012 1 commit
  6. 28 Apr, 2012 1 commit
  7. 10 Sep, 2011 1 commit
    • Liam M. Healy's avatar
      Relocation generic math functions and methods · 5fabe0c0
      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.
  8. 20 Aug, 2011 1 commit
  9. 30 May, 2011 1 commit
  10. 24 May, 2011 1 commit
  11. 10 Apr, 2011 1 commit
  12. 03 Apr, 2011 1 commit
  13. 28 Mar, 2011 1 commit
    • Liam M. Healy's avatar
      Eliminate call to make-pq-grid-specification; make-grid-data with no initial-contents · 51a4b48c
      Liam M. Healy authored
      Eliminate call to make-pq-grid-specification as it is unnecessary;
      make-grid does the job as well when make-grid-data works with no
      initial-contents.  The latter is achieved by filling the dimel array
      with nils.  Started a new function make-pq-grid-NEW (which will
      eventually be named #'make-pq-grid when the old one is eliminated)
      derived from the body of (grid::make-grid-data (eql
      'physical-quantity)) in intending to replace that part, but also to
      replace make-pq-grid with different arguments as called from make-pq.
  14. 23 Mar, 2011 2 commits
    • Liam M. Healy's avatar
      New function make-pq-grid-specification · 135361ef
      Liam M. Healy authored
      New function #'make-pq-grid-specification makes a pq grid according to
      specification.  At present, it will give an error if initial-contents
      or intiial-element are specified, so it is presumed that the values
      will set after creation.  It is called from make-grid, and is derived
      from code that was there; it needed to be broken out into a separate
      function in a different file because it uses symbols not exported
      until later.  Also, it is good conceptually to have this as a separate
    • Liam M. Healy's avatar
      PQ grid specification and creation with make-grid · 56d58d21
      Liam M. Healy authored
      The grid type of a pq grid, as given by grid:gridp, will be
      (physical-quantity <magnitude-grid-type>).  This is accepted by
      make-specification and by make-grid.  For make-grid, this is
      translated into a call to make-pq.
      This is tested with an example: 
      (grid:make-grid '(physical-quantity (grid:foreign-array 3) double-float))
      #<Physical quantity mag (2.024e-320 6.953e-310 1.036e-317), units #(METER METER METER)>
      (grid:specification @)
  15. 14 Feb, 2011 1 commit
    • Liam M. Healy's avatar
      Dyadic functions with pq-grid arguments · 77e61dbe
      Liam M. Healy authored
      Fixed funcall-dyadic, which is used by basic arithmetic functions like
      #'*i, for cases where one or both arguments is a pq-grid.  In that
      case, the units are simply removed.  This is not as good as restoring
      the proper units after the calculation completes, but it is a step
      towards that goal.  New type 'grid:grid.
  16. 31 Jan, 2011 1 commit
  17. 29 Jan, 2011 1 commit
    • Liam M. Healy's avatar
      Error checks for making grids · 2335aa7a
      Liam M. Healy authored
      New function #'grid::check-initial-contents to check that
      initial-contents is not nil when it is explicitly specified, called in
      several places.  New function #'grid:check-dimension to check that the
      object is a list of non-negative integers.  Check that
      category-or-rank in call to #'data-class-name is acceptable, signal an
      error if not instead of just returning category-or-rank.
  18. 27 Jan, 2011 2 commits
  19. 24 Jan, 2011 1 commit
    • Liam M. Healy's avatar
      PQ with non-scalar units · cec9e534
      Liam M. Healy authored
      Physical quantities can be made with non-scalar units.  They are
      printed unreadably.  pqval works but grid:gref does not.
  20. 16 Jan, 2011 1 commit
  21. 03 Jan, 2011 1 commit
    • Liam M. Healy's avatar
      Physical quantities with grids · 043a16fd
      Liam M. Healy authored
      Start implementation of physical quantities with grid magnitudes.
      Compiles and loads cleanly but mostly non-functional or only
      accidentally functional.
  22. 26 Dec, 2010 1 commit
    • Liam M. Healy's avatar
      New function make-simple-grid · 5a8444f9
      Liam M. Healy authored
      New function make-simple-grid with defaults 
      which will make it easier to create grids with default properties.
  23. 24 Dec, 2010 1 commit