Skip to content
  • Liam M. Healy's avatar
    Enable creation of non-scalar unit pq grids with make-grid · ddef4ddd
    Liam M. Healy authored
    It is now possible to create a non-scalar unit pq grid using make-grid
    (and not just make-pq).  This means that e.g. #m can be used to make
    such an object, e.g. #m(#_1.0d0_m #_5.0d0_s).  This relies on a new
    function scalar-units-p, which tries to parse the unit expression, and
    if it's unparseable, assumes that it must be a list of such
    expressions.  Changed check-dimension so that it works on grids
    instead of sequences.
    ddef4ddd