Skip to content
Browse files

Improve Deriv pod

  • Loading branch information...
1 parent 086f095 commit 2ad203278a916f9dd1408b678235b7914bb34287 @leto committed
Showing with 10 additions and 11 deletions.
  1. +10 −11 pod/Deriv.pod
View
21 pod/Deriv.pod
@@ -14,7 +14,7 @@ Math::GSL::Deriv - Numerical Derivatives
=head1 SYNOPSIS
- use Math::GSL::Deriv qw/:all/;
+ use Math::GSL::Deriv qw/:all/;
use Math::GSL::Errno qw/:all/;
my ($x, $h) = (1.5, 0.01);
@@ -51,9 +51,9 @@ complicated a function as your heart desires.
my ($status, $val,$err) = gsl_deriv_central ( \&func , $x, $h);
- This method approximates the central difference of the subroutine reference
- $function, evaluated at $x, with "step size" $h. This means that the
- function is evaluated at $x-$h and $x+h.
+This method approximates the central difference of the subroutine reference
+$function, evaluated at $x, with "step size" $h. This means that the
+function is evaluated at $x-$h and $x+h.
=item * C<gsl_deriv_backward($function, $x, $h)>
@@ -64,9 +64,9 @@ complicated a function as your heart desires.
my ($status, $val,$err) = gsl_deriv_backward ( \&func , $x, $h);
- This method approximates the backward difference of the subroutine
- reference $function, evaluated at $x, with "step size" $h. This means that
- the function is evaluated at $x-$h and $x.
+This method approximates the backward difference of the subroutine
+reference $function, evaluated at $x, with "step size" $h. This means that
+the function is evaluated at $x-$h and $x.
=item * C<gsl_deriv_forward($function, $x, $h)>
@@ -76,9 +76,9 @@ complicated a function as your heart desires.
my ($status, $val,$err) = gsl_deriv_forward ( \&func , $x, $h);
- This method approximates the forward difference of the subroutine reference
- $function, evaluated at $x, with "step size" $h. This means that the
- function is evaluated at $x and $x+$h.
+This method approximates the forward difference of the subroutine reference
+$function, evaluated at $x, with "step size" $h. This means that the
+function is evaluated at $x and $x+$h.
=back
@@ -99,4 +99,3 @@ under the same terms as Perl itself.
=cut
%}
-

0 comments on commit 2ad2032

Please sign in to comment.
Something went wrong with that request. Please try again.