Skip to content
  • Liam Healy's avatar
    Generic functions for array addition, multiplication with scalar · 2747131e
    Liam Healy authored
    Eliminated the functions #'m+c, #'m*c, turning them into methods of
    #'m+ and #'m*, with the scalar permitted to appear either first or
    second.  New functions #'e*, #'e/ renamed from #'m*, #'m/ to emphasize
    it is elementwise multiplication and division, leaving room for a
    matrix multiplication function #'m* at some point in the future.
    It is now possible to defmfun :definition :methods with 'both as the
    specified category.  Test results 64 bit:
    SBCL: TOTAL: 1223 assertions passed, 5 failed, 0 execution errors.
    CCL: TOTAL: 1228 assertions passed, 0 failed, 0 execution errors.
    2747131e