[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: OT(slightly): parser generator for expression with custom operators
- From: Luis Carvalho <lexcarvalho@...>
- Date: Wed, 29 Jun 2011 16:19:08 -0400
> > As an aside, in Numlua I'm defining % for matrix multiplication and * for
> > elementwise matrix multiplication (/ and ^ keep their elementwise
> > counterparts).
> >
>
> What do you define for matrix division, i.e. Matlab backslash?
I don't have an operator for it; you have to use ls(a, b) -- least-squares
solution -- for 'a \ b'.
Cheers,
Luis
--
Computers are useless. They can only give you answers.
-- Pablo Picasso
--
Luis Carvalho (Kozure)
lua -e 'print((("lexcarvalho@NO.gmail.SPAM.com"):gsub("(%u+%.)","")))'