PDL::Reduce 2.3.2
Sponsored Links
PDL::Reduce 2.3.2 Ranking & Summary
File size:
1.1 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
833
Date added:
2007-07-14
Publisher:
Christian Soeller
PDL::Reduce 2.3.2 description
PDL::Reduce is Perl module that helps to reduce functions for PDL.
Many languages have a reduce function used to reduce the rank of an N-D array by one. It works by applying a selected operation along a specified dimension. This module implements such a function for PDL by providing a simplified interface to the existing projection functions (e.g. sumover, maximum, average, etc).
SYNOPSIS
use PDL::Reduce;
$a = sequence 5,5;
# reduce by adding all
# elements along 2nd dimension
$b = $a->reduce(add,1);
@ops = $a->canreduce; # return a list of all allowed operations
FUNCTIONS
reduce
reduce dimension of piddle by one by applying an operation along the specified dimension
$a = sequence 5,5;
# reduce by adding all
# elements along 2nd dimension
$b = $a->reduce(add,1);
$b = $a->reduce(plus,1);
$b = $a->reduce(+,1); # three ways to do the same thing
[ As an aside: if you are familiar with threading you will see that this is actually the same as
$b = $a->mv(1,0)->sumover
]
NOTE: You should quote the name of the operation (1st arg) that you want reduce to perform. This is important since some of the names are identical to the names of the actual PDL functions which might be imported into your namespace. And you definitely want a string as argument, not a function invocation! For example, this will probably fail:
$b = $a->reduce(avg,1); # gives an error from invocation of avg
Rather use
$b = $a->reduce(avg,1);
reduce provides a simple and unified interface to the projection functions and makes people coming from other data/array languages hopefully feel more at home.
$result = $pdl->reduce($operation [,$dim]);
reduce applies the named operation along the specified dimension reducing the input piddle dimension by one. If the dimension is omitted the operation is applied along the first dimension. To get a list of valid operations see canreduce.
canreduce
return list of valid named reduce operations Some common operations can be accessed using a number of names, e.g. +, add and plus all sum the elements along the chosen dimension.
@ops = PDL->canreduce;
This list is useful if you want to make sure which operations can be used with reduce.
Many languages have a reduce function used to reduce the rank of an N-D array by one. It works by applying a selected operation along a specified dimension. This module implements such a function for PDL by providing a simplified interface to the existing projection functions (e.g. sumover, maximum, average, etc).
SYNOPSIS
use PDL::Reduce;
$a = sequence 5,5;
# reduce by adding all
# elements along 2nd dimension
$b = $a->reduce(add,1);
@ops = $a->canreduce; # return a list of all allowed operations
FUNCTIONS
reduce
reduce dimension of piddle by one by applying an operation along the specified dimension
$a = sequence 5,5;
# reduce by adding all
# elements along 2nd dimension
$b = $a->reduce(add,1);
$b = $a->reduce(plus,1);
$b = $a->reduce(+,1); # three ways to do the same thing
[ As an aside: if you are familiar with threading you will see that this is actually the same as
$b = $a->mv(1,0)->sumover
]
NOTE: You should quote the name of the operation (1st arg) that you want reduce to perform. This is important since some of the names are identical to the names of the actual PDL functions which might be imported into your namespace. And you definitely want a string as argument, not a function invocation! For example, this will probably fail:
$b = $a->reduce(avg,1); # gives an error from invocation of avg
Rather use
$b = $a->reduce(avg,1);
reduce provides a simple and unified interface to the projection functions and makes people coming from other data/array languages hopefully feel more at home.
$result = $pdl->reduce($operation [,$dim]);
reduce applies the named operation along the specified dimension reducing the input piddle dimension by one. If the dimension is omitted the operation is applied along the first dimension. To get a list of valid operations see canreduce.
canreduce
return list of valid named reduce operations Some common operations can be accessed using a number of names, e.g. +, add and plus all sum the elements along the chosen dimension.
@ops = PDL->canreduce;
This list is useful if you want to make sure which operations can be used with reduce.
PDL::Reduce 2.3.2 Screenshot
PDL::Reduce 2.3.2 Keywords
PDL
Reduce 2.3.2
to reduce
Perl module
reduce
dimension
functions
A-
b
operation
PDL::Reduce
PDLReduce
PDL::Reduce 2.3.2
Libraries
Programming
Bookmark PDL::Reduce 2.3.2
PDL::Reduce 2.3.2 Copyright
WareSeeker periodically updates pricing and software information of PDL::Reduce 2.3.2 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of PDL::Reduce 2.3.2 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
how to reduce swelling
how to reduce a fever
dimensions international
functions of money
reduce your debt
reduce hospital risks
trigonometric functions
dell dimension
reduce credit card debt
functions of the skin
dimensions online
functions of the liver
dimensions
reduce reuse recycle
functions of public relations
dimension express
reduce debt
brain functions
Related Software
PDL::Doc::Perldl are commands for accessing PDL doc database from perldl shell. Free Download
PDL::IO::Pic is a image I/O for PDL. Free Download
PDL::Ufunc Perl module contains primitive ufunc operations for pdl. Free Download
PDL::NiceSlice Perl module contains a nicer slicing syntax for PDL. Free Download
PDL::Graphics::LUT is a Perl module that provides access to a number of look-up tables. Free Download
PDL::Slices is a Perl module used for indexing, slicing, and dicing. Free Download
PDL::Slatec is a PDL interface to the slatec numerical programming library. Free Download
PDL::Bad - PDL does not process bad values. Free Download
Latest Software
Popular Software
Favourite Software