Re: [elixir-core:8015] Add <*> to the list of parseable operators

2018-05-17 Thread Stas Versilov
I planned to use "raw" +,-,/ and * for element-wise operations and <*> for dot product. But yes, it's always nice to have some options like <@>, as Michal suggests. It could also be great to have ./ and .* for element-wize, like in MathLab/Octave, but this syntactic sugar is not worth the

Re: [elixir-core:8012] Add <*> to the list of parseable operators

2018-05-17 Thread Stas Versilov
For my application (and for Decimal also) the same precedence as traditional math would be the key success factor of the new operators. Lower precedence (as now for custom operators) would be counter-intuitive, cause hardly detectable errors in calculations and lead to excessive use of

Re: [elixir-core:8007] Add <*> to the list of parseable operators

2018-05-17 Thread Stas Versilov
rators. > > > > *José Valimwww.plataformatec.com.br > <http://www.plataformatec.com.br/>Founder and Director of R* > > On Thu, May 17, 2018 at 12:42 PM, Stas Versilov <stas.v...@gmail.com > > wrote: > >> The problem is that other math operators used on matri

[elixir-core:8003] Add <*> to the list of parseable operators

2018-05-17 Thread Stas Versilov
Hello! I'am developing a matrix manipulation library for Elixir (https://github.com/versilov/matrex) and it would be really nice to have <*> operator, so that it could be overriden for matrices dot product (or element-wise multiplication). Is it possible to add it? -- You received this