The problem is that other math operators used on matrices are only in
element-wise form (+, -, /, *), so, usual math operators are enough for
But multiplication can be element-wise or dot-product, hence, we need two
I saw Swift guys using <*> for dot-product, seemed like a good choice for
On Thursday, May 17, 2018 at 1:24:28 PM UTC+4, José Valim wrote:
> Hi Stas,
> Given that we already have <|>, I don't see a problem with adding <*>. My
> only question is why choose dot product to have an operator? Wouldn't
> matrex end-up requiring other operators anyway? If we add <*>, how would
> those other operators look like in terms of consistency?
> *José Valimwww.plataformatec.com.br
> <http://www.plataformatec.com.br/>Founder and Director of R&D*
> On Thu, May 17, 2018 at 11:10 AM, Stas Versilov <stas.v...@gmail.com
>> I'am developing a matrix manipulation library for Elixir (
>> 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 message because you are subscribed to the Google Groups
>> "elixir-lang-core" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> To view this discussion on the web visit
>> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.