"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Basic/Pod/Indexing.pod" between
PDL-2.076.tar.gz and PDL-2.077.tar.gz

About: PDL (Perl Data Language) aims to turn perl into an efficient numerical language for scientific computing (similar to IDL and MatLab).

Indexing.pod  (PDL-2.076):Indexing.pod  (PDL-2.077)
skipping to change at line 1486 skipping to change at line 1486
code that uses explicit for-loops (or similar Perl constructs) to achieve code that uses explicit for-loops (or similar Perl constructs) to achieve
the same functionality. Especially on supercomputers (with vector the same functionality. Especially on supercomputers (with vector
computing facilities/parallel processing) PDL broadcasting is computing facilities/parallel processing) PDL broadcasting is
implemented in a way that takes advantage of the additional facilities implemented in a way that takes advantage of the additional facilities
of these machines. Furthermore, it is a conceptually simple of these machines. Furthermore, it is a conceptually simple
construct (though technical details might get involved at times) and construct (though technical details might get involved at times) and
can I<greatly> reduce the syntactical complexity of PDL code (but keep can I<greatly> reduce the syntactical complexity of PDL code (but keep
the admonition for documentation in mind). Once you the admonition for documentation in mind). Once you
are comfortable with the I<broadcasting> way of thinking (and coding) it are comfortable with the I<broadcasting> way of thinking (and coding) it
shouldn't be too difficult to understand code that somebody else shouldn't be too difficult to understand code that somebody else
has written than (provided he gave has written than (provided they gave
you an idea what expected input dimensions are, etc.). As a general tip to you an idea what expected input dimensions are, etc.). As a general tip to
increase the performance of your code: if you have to introduce a loop increase the performance of your code: if you have to introduce a loop
into your code try to reformulate the problem so that you can use into your code try to reformulate the problem so that you can use
broadcasting to perform the loop (as with anything there are exceptions broadcasting to perform the loop (as with anything there are exceptions
to this rule of thumb; but the authors of this document tend to to this rule of thumb; but the authors of this document tend to
think that these are rare cases ;). think that these are rare cases ;).
=head1 PDL::PP =head1 PDL::PP
=head2 An easy way to define functions that are aware of indexing and broadcasti ng (and the universe and everything) =head2 An easy way to define functions that are aware of indexing and broadcasti ng (and the universe and everything)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)