PDL::NDBin::Action::StdDev - Action for PDL::NDBin that computes standard deviation
This class implements an action for PDL::NDBin.
my $instance = PDL::NDBin::Action::StdDev->new( N => $N, type => double, # default );
Construct an instance for this action. Requires the number of bins $N as input. Optionally allows the type of the output piddle to be set (defaults to double).
$instance->process( $iter );
Run the action with the given iterator $iter. This action will compute all bins during the first call and will subsequently deactivate the variable.
my $result = $instance->result;
Return the result of the computation.
Edward Baudrez <email@example.com>
This software is copyright (c) 2015 by Edward Baudrez.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.