Re: Snapshot/Release?

[email protected] Wed, 15 Oct 2003 15:36:06 -0400
Newsgroups gmane.lisp.matlisp.user
Message-ID <[email protected]>
> I think M+ and friends are fine because they're methods that take 2
> args.  If matlisp:+ were used instead, it would break peoples'
> expectation of being able to give multiple arguments.
> 
> Adding such a macro to matlisp would be fine with me, but then we'd
> get more complaints about this in addition to REAL. :-)

I agree that M+ etc are fine.  Although I frequently need a multiple-argument
and multiple-type version.  e.g., 

 (+ MATLISP-REAL-MATRIX ARRAY-COMPLEX-2 SCALAR ARRAY-SINGLE-FLOAT-2)

This might be a future enhancement for MATLISP.  I currently define
H+, H-, H*, H/ etc as Hadamard varients of each operation and keep
adding methods as I need them for my work.

mike