Operator overloading or alternatives to expression templates

Jack Stouffer via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 13 07:47:25 PDT 2015


On Sunday, 13 September 2015 at 14:06:46 UTC, Martin Nowak wrote:
> - logical indexing x[x < 20]
>
>   e.g. opBinary!"<" returns a bit mask to select entries of a 
> large vector

Oh yes please! This is one of the more powerful features of numpy.



More information about the Digitalmars-d mailing list