Char.pm (PDL-2.074) | : | Char.pm (PDL-2.075) | ||
---|---|---|---|---|
skipping to change at line 39 | skipping to change at line 39 | |||
print $pchar->atstr(2,0); | print $pchar->atstr(2,0); | |||
# Prints: | # Prints: | |||
# ghi | # ghi | |||
=head1 DESCRIPTION | =head1 DESCRIPTION | |||
This subclass of PDL allows one to manipulate PDLs of 'byte' type as if they wer e made of fixed | This subclass of PDL allows one to manipulate PDLs of 'byte' type as if they wer e made of fixed | |||
length strings, not just numbers. | length strings, not just numbers. | |||
This type of behavior is useful when you want to work with charactar grids. The indexing is done | This type of behavior is useful when you want to work with character grids. The indexing is done | |||
on a string level and not a character level for the 'setstr' and 'atstr' command s. | on a string level and not a character level for the 'setstr' and 'atstr' command s. | |||
This module is in particular useful for writing NetCDF files that include charac ter data using the | This module is in particular useful for writing NetCDF files that include charac ter data using the | |||
PDL::NetCDF module. | L<PDL::NetCDF> module. | |||
=head1 FUNCTIONS | =head1 FUNCTIONS | |||
=head2 new | =head2 new | |||
=for ref | =for ref | |||
Function to create a byte PDL from a string, list of strings, list of list of st rings, etc. | Function to create a byte PDL from a string, list of strings, list of list of st rings, etc. | |||
=for usage | =for usage | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |