"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Basic/Pod/Internals.pod" between
PDL-2.078.tar.gz and PDL-2.079.tar.gz

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

Internals.pod  (PDL-2.078):Internals.pod  (PDL-2.079)
skipping to change at line 338 skipping to change at line 338
and freed at the right times depending on interactions and freed at the right times depending on interactions
with other ndarrays via PDL transformations (remember, C<pdl_trans>). with other ndarrays via PDL transformations (remember, C<pdl_trans>).
=head2 Accessing children and parents of an ndarray =head2 Accessing children and parents of an ndarray
When ndarrays are dynamically linked via transformations as When ndarrays are dynamically linked via transformations as
suggested above input and output ndarrays are referred to as parents suggested above input and output ndarrays are referred to as parents
and children, respectively. and children, respectively.
An example of processing the children of an ndarray is provided An example of processing the children of an ndarray is provided
by the method L<PDL::Bad/badflag>. by the method L<PDL::Bad/badflag> (before 2.079, it only operated on
the children, though now it propagates to parents too).
Consider the following situation: Consider the following situation:
pdl> $x = rvals(7,7,{Centre=>[3,4]}); pdl> $x = rvals(7,7,{Centre=>[3,4]});
pdl> $y = $x->slice('2:4,3:5'); pdl> $y = $x->slice('2:4,3:5');
pdl> ? vars pdl> ? vars
PDL variables in package main:: PDL variables in package main::
Name Type Dimension Flow State Mem Name Type Dimension Flow State Mem
---------------------------------------------------------------- ----------------------------------------------------------------
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

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