[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave and cargo cult programmingHello
From: |
Sergei Steshenko |
Subject: |
Re: Octave and cargo cult programmingHello |
Date: |
Sat, 15 Sep 2012 20:10:07 -0700 (PDT) |
----- Original Message -----
> From: marco atzeri <address@hidden>
> To: address@hidden
> Cc:
> Sent: Friday, September 14, 2012 8:21 AM
> Subject: Re: Octave and cargo cult programmingHello
>
> On 9/14/2012 12:42 AM, Sergei Steshenko wrote:
>>
>
>> And regarding cargo cult linear algebra - row <-> column vector
> should only be taken into account only if not taking it into account can
> produce
> ambiguous results.
>>
>>
>> For that matter, since both inner and outer products exist:
> https://en.wikipedia.org/wiki/Matrix_multiplication#The_inner_and_outer_products
>
> -> https://en.wikipedia.org/wiki/Inner_product ->
> https://en.wikipedia.org/wiki/Outer_product , if they both supported by
> default,
> none deserves a warning.
>>
>> So, again, there should be a, say,
>>
>> linear_algebra_compatibility;
>>
>> compiler pragma which introduces new laws of dealing with vectors and
> matrices.
>
> this does make no sense.
> We can not have two binary variant, one with and one without
> broadcasting.
> The life of package manager is already hard to deal with dependencies,
> having two flavours of octave is insane.
>
>>
>> Regards,
>> Sergei.
>
> don't like broadcasting ? don't use it.
> Stop to boring us.
>
> Marco
>
It _does_ make sense. Every decent language nowadays allows operator
overloading.
For example, read http://perldoc.perl.org/bigint.html . From there:
"
All operators (including basic math operations) are overloaded. Integer
constants are created as proper BigInts.
Floating point constants are truncated to integer. All parts and results of
expressions are also truncated.
Unlike integer, this pragma creates integer constants that are only
limited in their size by the available memory and CPU time.".
So, I do not want broadcasting and similar bullshit to be splashed on me by
Octave developers. Instead I want a set of modules/pragmas which would allow me
to use the (sub)set of math I want/need.
Regards,
Sergei.
- Octave and cargo cult programmingHello, Sergei Steshenko, 2012/09/13
- Re: Octave and cargo cult programmingHello, Judd Storrs, 2012/09/13
- Re: Octave and cargo cult programmingHello, Sergei Steshenko, 2012/09/13
- Re: Octave and cargo cult programmingHello, Juan Pablo Carbajal, 2012/09/13
- Re: Octave and cargo cult programmingHello, Sergei Steshenko, 2012/09/13
- Re: Octave and cargo cult programmingHello, marco atzeri, 2012/09/14
- Re: Octave and cargo cult programmingHello,
Sergei Steshenko <=
- Re: Octave and cargo cult programmingHello, Judd Storrs, 2012/09/15
- Re: Octave and cargo cult programmingHello, Robert T. Short, 2012/09/15
- Re: Octave and cargo cult programmingHello, marco atzeri, 2012/09/16
- Re: Octave and cargo cult programmingHello, Michael Goffioul, 2012/09/16
- Re: Octave and cargo cult programmingHello, Dan Muresan, 2012/09/18
- Re: Octave and cargo cult programmingHello, Michael Goffioul, 2012/09/18
- Re: Octave and cargo cult programmingHello, Dan Muresan, 2012/09/19
- forking, Francesco Potortì, 2012/09/19
- Re: forking, Doug Stewart, 2012/09/19
- Re: forking, Sergei Steshenko, 2012/09/19