"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Basic/Slices/slices.pd" between
PDL-2.024.tar.gz and PDL-2.025.tar.gz

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

slices.pd  (PDL-2.024):slices.pd  (PDL-2.025)
skipping to change at line 1136 skipping to change at line 1136
break; break;
case 1: /* truncation - just truncate if the corner is nonzero */ case 1: /* truncation - just truncate if the corner is nonzero */
trunc |= (ck != 0); trunc |= (ck != 0);
break; break;
case 2: /* extension -- ignore the corner (same as 3) */ case 2: /* extension -- ignore the corner (same as 3) */
case 3: /* periodic -- ignore the corner */ case 3: /* periodic -- ignore the corner */
case 4: /* mirror -- ignore the corner */ case 4: /* mirror -- ignore the corner */
ck = 0; ck = 0;
break; break;
default: default:
barf("Unknown boudnary condition in range -- bug alert!"); barf("Unknown boundary condition in range -- bug alert!");
/* Note clever misspelling of boundary to distinguish from other c
ase */
break; break;
} }
} }
/* Find offsets into the child and parent arrays, from the N-D coords */ /* Find offsets into the child and parent arrays, from the N-D coords */
/* Note we only loop over real source dims (prdim) to accumulate -- */ /* Note we only loop over real source dims (prdim) to accumulate -- */
/* because the offset is trivial and/or we're truncating for virtual */ /* because the offset is trivial and/or we're truncating for virtual */
/* dims caused by permissive ranging. */ /* dims caused by permissive ranging. */
coff = $CHILD_P(dimincs[0]) * item; coff = $CHILD_P(dimincs[0]) * item;
for(k2 = $COMP(itdim), poff = k = 0; for(k2 = $COMP(itdim), poff = k = 0;
 End of changes. 1 change blocks. 
3 lines changed or deleted 1 lines changed or added

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