This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository pdl.
commit d9bd9e8011fbccb947daa3ac845f6980727600bb Author: Bas Couwenberg <[email protected]> Date: Mon Jun 13 10:31:59 2016 +0200 Add patch to fix spelling errors. --- debian/changelog | 1 + debian/patches/series | 1 + debian/patches/spelling-errors.patch | 1586 ++++++++++++++++++++++++++++++++++ 3 files changed, 1588 insertions(+) diff --git a/debian/changelog b/debian/changelog index 4483b75..516df2b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -34,6 +34,7 @@ pdl (1:2.016-1) UNRELEASED; urgency=medium * Disable parallel dh_auto_install, race condition between make targets. * Override dh_install to use --list-missing. * Drop libhdf4-0-alt from Suggests, already included in ${shlibs:Depends}. + * Add patch to fix spelling errors. -- Bas Couwenberg <[email protected]> Sun, 12 Jun 2016 16:00:28 +0200 diff --git a/debian/patches/series b/debian/patches/series index 463815d..8623775 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -9,3 +9,4 @@ #minuit_default_integer_8.patch #gsl-2.patch doc_vendor_install.patch +spelling-errors.patch diff --git a/debian/patches/spelling-errors.patch b/debian/patches/spelling-errors.patch new file mode 100644 index 0000000..763d1f1 --- /dev/null +++ b/debian/patches/spelling-errors.patch @@ -0,0 +1,1586 @@ +Description: Fix spelling errors. + accomodate -> accommodate + aditionally -> additionally + allows to <verb> -> allows <verb>ing + arbitary -> arbitrary + arguement -> argument + assigment -> assignment + avaliable -> available + betwen -> between + changable -> changeable + choosen -> chosen + consistancy -> consistency + containg -> containing + dependant -> dependent + egde -> edge + enviroment -> environment + exisiting -> existing + explictly -> explicitly + explitly -> explicitly + extention -> extension + funcion -> function + implmented -> implemented + infomation -> information + maintainance -> maintenance + mesages -> messages + mutliple -> multiple + neccessary -> necessary + occurance -> occurrence + occured -> occurred + ouptut -> output + ouput -> output + paramater -> parameter + preceeded -> preceded + preceeding -> preceding + prefered -> preferred + priciple -> principle + repectively -> respectively + specfic -> specific + specfied -> specified + specifing -> specifying + suport -> support + sytems -> systems + this packages -> these packages + tranform -> transform + uniqe -> unique + varable -> variable + writting -> writing +Author: Bas Couwenberg <[email protected]> + +--- a/Basic/Core/pdlmagic.c ++++ b/Basic/Core/pdlmagic.c +@@ -363,7 +363,7 @@ void pdl_magic_thread_cast(pdl *it,void + free(tp); + free(tparg); + +- // handle any errors that may have occured in the worker threads I reset the ++ // handle any errors that may have occurred in the worker threads I reset the + // length before actually barfing/warning because barf() may not come back. + // In that case, I'll have len==0, but an unfreed pointer. This memory will + // be reclaimed the next time we barf/warn something (since I'm using +--- a/Changes_CVS ++++ b/Changes_CVS +@@ -879,7 +879,7 @@ CED 13-Jan-2005 + (thanks, Henning!) + CED 09-Jan-2005 + - Core.pm.PL: Restored original barf behavior: reports error where +- it occured in user code, not within PDL. ++ it occurred in user code, not within PDL. + - primitive.pd: Matrix multiplication now requires that the second + argument's second dim equal the first argument's first dim + (as required for matrix multiplication; previous threading case +@@ -1328,7 +1328,7 @@ CED 22-May-2003 + (Window.pm) + - pgplot.t test cleans up its own window. + CED 21-May-2003 +- - Revamped tranforms demo ++ - Revamped transforms demo + - Added cartography demo + - Fixed justification logic in Graphics::PGPLOT::Window::fits_foo + - Fixed a bunch of documentation +--- a/Graphics/PGPLOT/Window/Window.pm ++++ b/Graphics/PGPLOT/Window/Window.pm +@@ -196,7 +196,7 @@ The following + will make a broad arrow of five times the normal size. + + Alternatively the arrow can be specified as a set of numbers +-corresponding to an extention to the syntax for pgsah. The equivalent to ++corresponding to an extension to the syntax for pgsah. The equivalent to + the above is + + $opt = {ARROW => pdl([1, 60, 0.3, 5})}; +@@ -357,7 +357,7 @@ The HardColour option should be used if + + =item diraxis + +-This sets the direction of the axes of a plot or image, when you don't explitly ++This sets the direction of the axes of a plot or image, when you don't explicitly + set them with the XRange and YRange options. It's particularly useful when + you want (for example) to put long wavelengths (larger numbers) on the left + hand side of your plot, or when you want to plot an image in (RA,dec) +@@ -1263,7 +1263,7 @@ coordinate system by saying: + + The identity transform is used if you select a mapping for which there is + no information in the header. +-Please note that this suport is B<experimental> and is not guaranteed ++Please note that this support is B<experimental> and is not guaranteed + to work correctly; please see the documentation for the L<_FITS_tr|/_FITS_tr> + routine for more information. + +@@ -1326,7 +1326,7 @@ Which side of the image to draw the wedg + + =item Displacement + +-How far from the egde of the image should the wedge be drawn, in units of character ++How far from the edge of the image should the wedge be drawn, in units of character + size. To draw within the image use a negative value. Default is B<1.5>. + + =item Width +@@ -1530,7 +1530,7 @@ The following standard options influence + AXIS, BORDER, CHARSIZE, COLOUR, LINESTYLE, LINEWIDTH, + JUSTIFY, SCALE, PIX, PITCH, ALIGN + +-C<SymbolSize> allows to adjust the symbol size, it defaults to CharSize. ++C<SymbolSize> allows adjusting the symbol size, it defaults to CharSize. + + The C<ColorValues> option allows one to plot XYZ data with the + Z axis mapped to a color value. For example: +@@ -2277,7 +2277,7 @@ $PDL::Graphics::PGPLOT::RECORDING = 0; # + # + # You call catch_signals with no arguments. INT and __DIE__ signals + # are sent to the signal_catcher, and released, not necessarily in +-# the order they occured, by release_signals. ++# the order they occurred, by release_signals. + # + # To avoid problems with nested &catch_signals and &release_signals calls, + # a variable keeps track of balancing the two. Ideally, no signals would +@@ -3677,7 +3677,7 @@ sub _standard_options_parser { + if (exists($o->{Hatch})) { + my $val = $o->{Hatch}; + if (!defined($val) || lc($val) eq 'default') { +- pgshs(); # Default values are either specfied by HATCH=>undef or HATCH=>'default' ++ pgshs(); # Default values are either specified by HATCH=>undef or HATCH=>'default' + } else { + # + # Can either be specified as numbers or as a hash... +@@ -4082,7 +4082,7 @@ sub _image_xyrange { + ############################## + ## Because the transform is an inhomogeneous scale-and-rotate, + ## the limiting points are always the corners of the original +- ## physical data plane after transformation. We just tranform ++ ## physical data plane after transformation. We just transform + ## the four corners of the data (in evil homogeneous FORTRAN + ## origin-at-1 coordinates) and find the minimum and maximum + ## X and Y values of 'em all. +--- a/Lib/GIS/Proj/Proj.pd ++++ b/Lib/GIS/Proj/Proj.pd +@@ -99,7 +99,7 @@ pp_addpm(<<'EOPM'); + Proj4 forward transformation $params is a string of the projection transformation + parameters. + +-Returns two pdls for x and y values respectively. The units are dependant on Proj4 ++Returns two pdls for x and y values respectively. The units are dependent on Proj4 + behavior. They will be PDL->null if an error has occurred. + + BadDoc: Ignores bad elements of $lat and $lon, and sets the corresponding elements +@@ -126,7 +126,7 @@ sub fwd_transform + Proj4 inverse transformation $params is a string of the projection transformation + parameters. + +-Returns two pdls for lat and lon values respectively. The units are dependant on Proj4 ++Returns two pdls for lat and lon values respectively. The units are dependent on Proj4 + behavior. They will be PDL->null if an error has occurred. + + BadDoc: Ignores bad elements of $lat and $lon, and sets the corresponding elements +@@ -363,7 +363,7 @@ threadloop + sprintf(errstr, "%s: Projection conversion failed at (%f, %f): %s\n", + func, $lon(), $lat(), pj_strerrno(pj_errno)); + fprintf( stderr, "%s", errstr ); +- fprintf( stderr, "%s: NOTE: Subsequent errors may have occured, but I'm only reporting the first!\n", func ); ++ fprintf( stderr, "%s: NOTE: Subsequent errors may have occurred, but I'm only reporting the first!\n", func ); + } + } + } +@@ -565,7 +565,7 @@ threadloop + sprintf(errstr, "%s: Projection conversion failed at (%f, %f): %s\n", + func, $x(), $y(), pj_strerrno(pj_errno)); + fprintf( stderr, "%s", errstr ); +- fprintf( stderr, "%s: NOTE: Subsequent errors may have occured, but I'm only reporting the first!\n", func ); ++ fprintf( stderr, "%s: NOTE: Subsequent errors may have occurred, but I'm only reporting the first!\n", func ); + } + } + } +--- a/Basic/Pod/PP.pod ++++ b/Basic/Pod/PP.pod +@@ -1389,7 +1389,7 @@ threading dimensions. Of course, the tem + You can also use C<RedoDimsCode> to set the dimension of a + piddle flagged with [o]. In this case you set the dimensions + for the named dimension in the signature using $SIZE() as in +-the preceeding example. However, because the piddle is ++the preceding example. However, because the piddle is + flagged with [o] instead of [t], threading dimensions will + be added if required just as if the size of the dimension + were computed from the signature according to the usual +@@ -2080,7 +2080,7 @@ rather stilted; it may be much better to + =item NoPthread + + Optional flag to indicate the PDL function should B<not> use processor threads (i.e. +-pthreads or POSIX threads) to split up work across mutliple CPU cores. This option ++pthreads or POSIX threads) to split up work across multiple CPU cores. This option + is typically set to 1 if the underlying PDL function is not threadsafe. If this option + isn't present, then the function is assumed to be threadsafe. This option only + applies if PDL has been compiled with POSIX threads enabled. +--- a/Lib/Slatec/slatec.pd ++++ b/Lib/Slatec/slatec.pd +@@ -903,7 +903,7 @@ monotonicity (data still valid). + # can not say (nwk=2*n) --- the rhs has to equal a number + # -> could Basic/Gen/PP/Dims.pm be hacked to allow this? + # +-# I didn't have much success with preceeding wk by [t] ++# I didn't have much success with preceding wk by [t] + # + defslatec( + 'chic', {S => 'pchic', D => 'dpchic'}, +--- a/Basic/Pod/Tips.pod ++++ b/Basic/Pod/Tips.pod +@@ -39,7 +39,7 @@ try the command + + somewhere. This spews out a huge amount of debug info for PDL + into STDOUT. Plans for the future include making it possible to +-redirect the output, and also making it possible to select mesages ++redirect the output, and also making it possible to select messages + with more precision. + + Many of the messages come from C<Basic/Core/pdlapi.c> and you +--- a/GENERATED/PDL/Minuit.pm ++++ b/GENERATED/PDL/Minuit.pm +@@ -34,7 +34,7 @@ of the CERN Library) + + A basic fit with Minuit will call three functions in this package. First, a basic + initialization is done with mn_init(). Then, the parameters are defined via +-the function mn_def_pars(), which allows to set upper and lower bounds. Then ++the function mn_def_pars(), which allows setting upper and lower bounds. Then + the function mn_excm() can be used to issue many Minuit commands, including simplex + and migrad minimization algorithms (see Minuit manual for more details). + +@@ -313,7 +313,7 @@ sub mn_excm{ + + =for sig + +- Signature: (double a(n); int ia(); int [o] ib(); char* str; SV* funcion; int numelem) ++ Signature: (double a(n); int ia(); int [o] ib(); char* str; SV* function; int numelem) + + + =for ref +@@ -585,7 +585,7 @@ It will set the bad-value flag of all ou + + =for sig + +- Signature: (int ia(); int ib(); int ic(); double [o] a(n); double [o] b(n); int [o] id(); SV* funcion; int numelem) ++ Signature: (int ia(); int ib(); int ic(); double [o] a(n); double [o] b(n); int [o] id(); SV* function; int numelem) + + + =for ref +@@ -631,7 +631,7 @@ the function gradient. + There are three optional arguments to mn_init(). By default, the output of Minuit + will come through STDOUT unless a filename $logfile is given + in the Log option. Note that this will mercilessly erase $logfile +-if it already exists. Aditionally, a title can be given to the fit ++if it already exists. Additionally, a title can be given to the fit + by the Title option, the default is 'Minuit Fit'. If the output is + written to a logfile, this is assigned Fortran unit number 88. If for + whatever reason you want to have control over the unit number +@@ -678,7 +678,7 @@ Example: + The function mn_def_pars() defines the initial values of the parameters of the function to + be minimized and the value of the initial steps around these values that the + minimizer will use for the first variations of the parameters in the search for the minimum. +-There are several optional arguments. One allows to assign names to these parameters which ++There are several optional arguments. One allows assigning names to these parameters which + otherwise get names (Par_0, Par_1,....,Par_n) by default. Another two arguments can give + lower and upper bounds for the parameters via two piddles. If the lower and upper bound for a + given parameter are both equal to 0 then the parameter is unbound. By default these lower and +@@ -717,12 +717,12 @@ Example: + #use mn_def_pars with default parameter names (Par_0,Par_1,...) + my $iflag = mn_def_pars($pars,$steps); + +- #use of mn_def_pars explictly specify parameter names ++ #use of mn_def_pars explicitly specify parameter names + $iflag = mn_def_pars($pars,$steps,{Names => \@names}); + + # specify lower and upper bounds for the parameters. + # The example below leaves parameter 1 (intercept) unconstrained +- # and constrains parameter 2 (slope) to be betwen 0 and 100 ++ # and constrains parameter 2 (slope) to be between 0 and 100 + my $lbounds = pdl(0, 0); + my $ubounds = pdl(0, 100); + +@@ -843,9 +843,9 @@ Usage: + The function mn_contour() finds contours of the function being minimized + with respect to two chosen parameters. The contour level is given by + F_min + UP, where F_min is the minimum of the function and UP is the ERRordef +-specfied by the user, or 1.0 by default (see Minuit manual). The contour ++specified by the user, or 1.0 by default (see Minuit manual). The contour + calculated by this function is dynamic, in the sense that it represents the +-minimum of the funcion being minimized with respect to all the other NPAR-2 parameters ++minimum of the function being minimized with respect to all the other NPAR-2 parameters + (if any). + + The function takes as input the parameter numbers with respect to which the contour +@@ -891,4 +891,4 @@ PDL distribution, the copyright notice s + + 1; + +- +\ No newline at end of file ++ +--- a/Lib/Minuit/minuit.pd ++++ b/Lib/Minuit/minuit.pd +@@ -36,7 +36,7 @@ of the CERN Library) + + A basic fit with Minuit will call three functions in this package. First, a basic + initialization is done with mn_init(). Then, the parameters are defined via +-the function mn_def_pars(), which allows to set upper and lower bounds. Then ++the function mn_def_pars(), which allows setting upper and lower bounds. Then + the function mn_excm() can be used to issue many Minuit commands, including simplex + and migrad minimization algorithms (see Minuit manual for more details). + +@@ -215,12 +215,12 @@ sub mn_excm{ + + pp_def('mnexcm', + Pars =>'double a(n); int ia(); int [o] ib();', +- OtherPars => 'char* str; SV* funcion; int numelem;', ++ OtherPars => 'char* str; SV* function; int numelem;', + Code => 'double zero; + int largo; largo=strlen($COMP(str)); + ene = $COMP(numelem); + zero = 0.0; +- mnfunname = $COMP(funcion); ++ mnfunname = $COMP(function); + MNEXCM(FCN,$COMP(str),$P(a),$P(ia),$P(ib),&zero,largo); + '); + +@@ -369,10 +369,10 @@ pp_addpm(' + + pp_def('mncont', + Pars => 'int ia(); int ib(); int ic(); double [o] a(n); double [o] b(n); int [o] id();', +- OtherPars => 'SV* funcion; int numelem;', ++ OtherPars => 'SV* function; int numelem;', + Code => ' double zero; + zero = 0.0; +- mnfunname = $COMP(funcion); ++ mnfunname = $COMP(function); + ene = $COMP(numelem); + MNCONT(FCN,$P(ia),$P(ib),$P(ic),$P(a),$P(b),$P(id),&zero); + '); +@@ -399,7 +399,7 @@ the function gradient. + There are three optional arguments to mn_init(). By default, the output of Minuit + will come through STDOUT unless a filename $logfile is given + in the Log option. Note that this will mercilessly erase $logfile +-if it already exists. Aditionally, a title can be given to the fit ++if it already exists. Additionally, a title can be given to the fit + by the Title option, the default is 'Minuit Fit'. If the output is + written to a logfile, this is assigned Fortran unit number 88. If for + whatever reason you want to have control over the unit number +@@ -446,7 +446,7 @@ Example: + The function mn_def_pars() defines the initial values of the parameters of the function to + be minimized and the value of the initial steps around these values that the + minimizer will use for the first variations of the parameters in the search for the minimum. +-There are several optional arguments. One allows to assign names to these parameters which ++There are several optional arguments. One allows assigning names to these parameters which + otherwise get names (Par_0, Par_1,....,Par_n) by default. Another two arguments can give + lower and upper bounds for the parameters via two piddles. If the lower and upper bound for a + given parameter are both equal to 0 then the parameter is unbound. By default these lower and +@@ -485,12 +485,12 @@ Example: + #use mn_def_pars with default parameter names (Par_0,Par_1,...) + my $iflag = mn_def_pars($pars,$steps); + +- #use of mn_def_pars explictly specify parameter names ++ #use of mn_def_pars explicitly specify parameter names + $iflag = mn_def_pars($pars,$steps,{Names => \@names}); + + # specify lower and upper bounds for the parameters. + # The example below leaves parameter 1 (intercept) unconstrained +- # and constrains parameter 2 (slope) to be betwen 0 and 100 ++ # and constrains parameter 2 (slope) to be between 0 and 100 + my $lbounds = pdl(0, 0); + my $ubounds = pdl(0, 100); + +@@ -611,9 +611,9 @@ Usage: + The function mn_contour() finds contours of the function being minimized + with respect to two chosen parameters. The contour level is given by + F_min + UP, where F_min is the minimum of the function and UP is the ERRordef +-specfied by the user, or 1.0 by default (see Minuit manual). The contour ++specified by the user, or 1.0 by default (see Minuit manual). The contour + calculated by this function is dynamic, in the sense that it represents the +-minimum of the funcion being minimized with respect to all the other NPAR-2 parameters ++minimum of the function being minimized with respect to all the other NPAR-2 parameters + (if any). + + The function takes as input the parameter numbers with respect to which the contour +--- a/perldl ++++ b/perldl +@@ -868,7 +868,7 @@ In multiline mode (which is enabled by d + variables>, below), B<perldl> searches for searches for block-like + constructs with curly braces, parentheses, quotes, and related + delimiters. If you leave such a construct open, B<perldl> accepts more +-lines of input until you close the construct or explictly end the multi-line ++lines of input until you close the construct or explicitly end the multi-line + expression with ^D. Following the example above, the phrase + + { print "Hello ", +@@ -1038,7 +1038,7 @@ To set even more local defaults the file + directory) is sourced if found. This lets you load modules and define + subroutines for the project in the current directory. + +-The name is chosen specfically because it was found hidden files were ++The name is chosen specifically because it was found hidden files were + NOT wanted in these circumstances. + + The startup file should normally include "use PDL::AutoLoader;", as +--- a/Basic/Bad/bad.pd ++++ b/Basic/Bad/bad.pd +@@ -658,7 +658,7 @@ Similar to L<isfinite|PDL::Math/isfinite + + =for bad + +-This method works with input piddles that are bad. The ouptut piddle ++This method works with input piddles that are bad. The output piddle + will never contain bad values, but its bad value flag will be the + same as the input piddle's flag. + +@@ -699,7 +699,7 @@ Also see L<isfinite|PDL::Math/isfinite>. + + =for bad + +-This method works with input piddles that are bad. The ouptut piddle ++This method works with input piddles that are bad. The output piddle + will never contain bad values, but its bad value flag will be the + same as the input piddle's flag. + +@@ -744,7 +744,7 @@ it is possible to perform this calculati + + =for bad + +-nbadover processes input values that are bad. The ouput piddle will not have ++nbadover processes input values that are bad. The output piddle will not have + any bad values, but the bad flag will be set if the input piddle had its bad + flag set. + +@@ -790,7 +790,7 @@ I<any> dimension. + + =for bad + +-ngoodover processes input values that are bad. The ouput piddle will not have ++ngoodover processes input values that are bad. The output piddle will not have + any bad values, but the bad flag will be set if the input piddle had its bad + flag set. + +@@ -887,7 +887,7 @@ probably mainly useful in test scripts! + + This method can be called on piddles that have bad values. + The remainder of the arguments should be Perl scalars indicating +-the position to set as bad. The ouptut piddle will have bad values ++the position to set as bad. The output piddle will have bad values + and will have its badflag turned on. + + =cut +--- a/GENERATED/PDL/Bad.pm ++++ b/GENERATED/PDL/Bad.pm +@@ -344,7 +344,7 @@ Similar to L<isfinite|PDL::Math/isfinite + + =for bad + +-This method works with input piddles that are bad. The ouptut piddle ++This method works with input piddles that are bad. The output piddle + will never contain bad values, but its bad value flag will be the + same as the input piddle's flag. + +@@ -386,7 +386,7 @@ Also see L<isfinite|PDL::Math/isfinite>. + + =for bad + +-This method works with input piddles that are bad. The ouptut piddle ++This method works with input piddles that are bad. The output piddle + will never contain bad values, but its bad value flag will be the + same as the input piddle's flag. + +@@ -430,7 +430,7 @@ it is possible to perform this calculati + + =for bad + +-nbadover processes input values that are bad. The ouput piddle will not have ++nbadover processes input values that are bad. The output piddle will not have + any bad values, but the bad flag will be set if the input piddle had its bad + flag set. + +@@ -475,7 +475,7 @@ I<any> dimension. + + =for bad + +-ngoodover processes input values that are bad. The ouput piddle will not have ++ngoodover processes input values that are bad. The output piddle will not have + any bad values, but the bad flag will be set if the input piddle had its bad + flag set. + +@@ -571,7 +571,7 @@ probably mainly useful in test scripts! + + This method can be called on piddles that have bad values. + The remainder of the arguments should be Perl scalars indicating +-the position to set as bad. The ouptut piddle will have bad values ++the position to set as bad. The output piddle will have bad values + and will have its badflag turned on. + + =cut +--- a/Basic/Core/Basic.pm ++++ b/Basic/Core/Basic.pm +@@ -300,7 +300,7 @@ sub PDL::zlogvals { + =for ref + + Synonym for L<ndcoords|ndcoords> - enumerates all coordinates in a +-PDL or dim list, adding an extra dim on the front to accomodate ++PDL or dim list, adding an extra dim on the front to accommodate + the vector coordinate index (the form expected by L<indexND|indexND>, + L<range|range>, and L<interpND|interpND>). See L<ndcoords|ndcoords> for more detail. + +--- a/Demos/PGPLOT_demo.pm ++++ b/Demos/PGPLOT_demo.pm +@@ -83,7 +83,7 @@ act q| + |; + + act q| +- # 2D data can also easily be accomodated: ++ # 2D data can also easily be accommodated: + + # First make a simple image + $gradient=sequence(40,40); +--- a/Basic/Core/Core.pm ++++ b/Basic/Core/Core.pm +@@ -263,7 +263,7 @@ Whether to insert commas when printing p + =over 4 + + The default print format for floats, doubles, and indx values, +-repectively. The default default values are: ++respectively. The default default values are: + + $PDL::floatformat = "%7g"; + $PDL::doubleformat = "%10.8g"; +@@ -1484,7 +1484,7 @@ They do not have their own copy of + data but instead store only access information to some (or all) of another + piddle's data. + +-Note: this function should not be used unless absolutely neccessary ++Note: this function should not be used unless absolutely necessary + since otherwise memory requirements might be severly increased. Instead + of writing your own XS code with the need to call C<make_physical> you + might want to consider using the PDL preprocessor +@@ -3025,7 +3025,7 @@ Set a single value inside a piddle + C<@position> is a coordinate list, of size equal to the + number of dimensions in the piddle. Occasionally useful, + mainly provided for backwards compatibility as superseded +-by use of L<slice|PDL::Slices/slice> and assigment operator C<.=>. ++by use of L<slice|PDL::Slices/slice> and assignment operator C<.=>. + + =for example + +--- a/Basic/Core/Dbg.pm ++++ b/Basic/Core/Dbg.pm +@@ -12,7 +12,7 @@ PDL::Dbg - functions to support debuggin + + =head1 DESCRIPTION + +-This packages implements a couple of functions that should come in ++These packages implements a couple of functions that should come in + handy when debugging your PDL scripts. They make a lot of sense while + you're doing rapid prototyping of new PDL code, let's say inside the + perldl or pdl2 shell. +--- a/Doc/Doc.pm ++++ b/Doc/Doc.pm +@@ -379,7 +379,7 @@ documented along these lines should have + a one line description of its intended functionality (suitable for + inclusion in a concise reference card). PP defined functions (see L<PDL::PP>) + should have a I<Sig> field stating their signature. To facilitate +-maintainance of this documentation for such functions the 'Doc' field ++maintenance of this documentation for such functions the 'Doc' field + has been introduced into the definition of C<pp_def> (see again L<PDL::PP>) + which will take care that name and signature of the so defined function + are documented in this way (for examples of this usage see, for example, +--- a/Lib/Func.pm ++++ b/Lib/Func.pm +@@ -50,7 +50,7 @@ integration and gradient estimation. + Throughout this documentation, C<$x> and C<$y> refer to the function + to be interpolated whilst C<$xi> and C<$yi> are the interpolated values. + +-The avaliable types, or I<schemes>, of interpolation are listed below. ++The available types, or I<schemes>, of interpolation are listed below. + Also given are the valid attributes for each scheme: the flag value + indicates whether it can be set (s), got (g), and if it is + required (r) for the method to work. +@@ -922,7 +922,7 @@ interpolation routines, such as those pr + Gnu Scientific Library (GSL), or the B-spline routines + in the SLATEC library. + +-In the documentation, the methods are preceeded by C<PDL::Func::> ++In the documentation, the methods are preceded by C<PDL::Func::> + to avoid clashes with functions such as C<set> when using + the C<help> or C<apropos> commands within I<perldl> or I<pdl2>. + +--- a/Lib/Interpolate/Interpolate.pm ++++ b/Lib/Interpolate/Interpolate.pm +@@ -30,7 +30,7 @@ object, supplying it with its required a + + =head1 LIBRARIES + +-Currently, the avaliable classes are ++Currently, the available classes are + + =over 4 + +--- a/GENERATED/PDL/GIS/Proj.pm ++++ b/GENERATED/PDL/GIS/Proj.pm +@@ -94,7 +94,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICU + Proj4 forward transformation $params is a string of the projection transformation + parameters. + +-Returns two pdls for x and y values respectively. The units are dependant on Proj4 ++Returns two pdls for x and y values respectively. The units are dependent on Proj4 + behavior. They will be PDL->null if an error has occurred. + + BadDoc: Ignores bad elements of $lat and $lon, and sets the corresponding elements +@@ -121,7 +121,7 @@ sub fwd_transform + Proj4 inverse transformation $params is a string of the projection transformation + parameters. + +-Returns two pdls for lat and lon values respectively. The units are dependant on Proj4 ++Returns two pdls for lat and lon values respectively. The units are dependent on Proj4 + behavior. They will be PDL->null if an error has occurred. + + BadDoc: Ignores bad elements of $lat and $lon, and sets the corresponding elements +--- a/IO/HDF/Makefile.PL ++++ b/IO/HDF/Makefile.PL +@@ -112,7 +112,7 @@ unless( defined( $hdf_include_path ) ) { + . "Please add the correct library path to Makefile.PL or install HDF\n"; + } + +-# Set up architecture dependant stuff: ++# Set up architecture dependent stuff: + # NOTE TO SELF: The main PDL developers may not like this... + my $cpu = `uname -m`; + chomp $cpu; +--- a/GENERATED/PDL/GSL/DIFF.pm ++++ b/GENERATED/PDL/GSL/DIFF.pm +@@ -98,7 +98,7 @@ sub gsldiff{ + + =for sig + +- Signature: (double x(); double [o] res(); double [o] abserr(); SV* funcion) ++ Signature: (double x(); double [o] res(); double [o] abserr(); SV* function) + + + =for ref +@@ -129,7 +129,7 @@ It will set the bad-value flag of all ou + + =for sig + +- Signature: (double x(); double [o] res(); double [o] abserr(); SV* funcion) ++ Signature: (double x(); double [o] res(); double [o] abserr(); SV* function) + + + =for ref +@@ -160,7 +160,7 @@ It will set the bad-value flag of all ou + + =for sig + +- Signature: (double x(); double [o] res(); double [o] abserr(); SV* funcion) ++ Signature: (double x(); double [o] res(); double [o] abserr(); SV* function) + + + =for ref +--- a/GENERATED/PDL/GSL/INTEG.pm ++++ b/GENERATED/PDL/GSL/INTEG.pm +@@ -153,7 +153,7 @@ sub gslinteg_qng{ + + Signature: (double a(); double b(); double epsabs(); + double epsrel(); double [o] result(); double [o] abserr(); +- int [o] neval(); int [o] ierr(); int warn(); SV* funcion) ++ int [o] neval(); int [o] ierr(); int warn(); SV* function) + + + =for ref +@@ -200,7 +200,7 @@ sub gslinteg_qag{ + =for sig + + Signature: (double a(); double b(); double epsabs();double epsrel(); int limit(); +- int key(); double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();; SV* funcion) ++ int key(); double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();; SV* function) + + + =for ref +@@ -247,7 +247,7 @@ sub gslinteg_qags{ + =for sig + + Signature: (double a(); double b(); double epsabs();double epsrel(); int limit(); +- double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();; SV* funcion) ++ double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();; SV* function) + + + =for ref +@@ -294,7 +294,7 @@ sub gslinteg_qagp{ + =for sig + + Signature: (double pts(l); double epsabs();double epsrel();int limit(); +- double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();; SV* funcion) ++ double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();; SV* function) + + + =for ref +@@ -341,7 +341,7 @@ sub gslinteg_qagi{ + =for sig + + Signature: (double epsabs();double epsrel(); int limit(); +- double [o] result(); double [o] abserr(); int n(); int [o] ierr();int warn();; SV* funcion) ++ double [o] result(); double [o] abserr(); int n(); int [o] ierr();int warn();; SV* function) + + + =for ref +@@ -388,7 +388,7 @@ sub gslinteg_qagiu{ + =for sig + + Signature: (double a(); double epsabs();double epsrel();int limit(); +- double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();; SV* funcion) ++ double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();; SV* function) + + + =for ref +@@ -435,7 +435,7 @@ sub gslinteg_qagil{ + =for sig + + Signature: (double b(); double epsabs();double epsrel();int limit(); +- double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();; SV* funcion) ++ double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();; SV* function) + + + =for ref +@@ -482,7 +482,7 @@ sub gslinteg_qawc{ + =for sig + + Signature: (double a(); double b(); double c(); double epsabs();double epsrel();int limit(); +- double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();; SV* funcion) ++ double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();; SV* function) + + + =for ref +@@ -530,7 +530,7 @@ sub gslinteg_qaws{ + + Signature: (double a(); double b();double epsabs();double epsrel();int limit(); + double [o] result(); double [o] abserr();int n(); +- double alpha(); double beta(); int mu(); int nu();int [o] ierr();int warn();; SV* funcion) ++ double alpha(); double beta(); int mu(); int nu();int [o] ierr();int warn();; SV* function) + + + =for ref +@@ -585,7 +585,7 @@ sub gslinteg_qawo{ + + Signature: (double a(); double b();double epsabs();double epsrel();int limit(); + double [o] result(); double [o] abserr();int n(); +- int sincosopt(); double omega(); double L(); int nlevels();int [o] ierr();int warn();; SV* funcion) ++ int sincosopt(); double omega(); double L(); int nlevels();int [o] ierr();int warn();; SV* function) + + + =for ref +@@ -638,7 +638,7 @@ sub gslinteg_qawf{ + + Signature: (double a(); double epsabs();int limit(); + double [o] result(); double [o] abserr();int n(); +- int sincosopt(); double omega(); int nlevels();int [o] ierr();int warn();; SV* funcion) ++ int sincosopt(); double omega(); int nlevels();int [o] ierr();int warn();; SV* function) + + + =for ref +--- a/GENERATED/PDL/GSL/MROOT.pm ++++ b/GENERATED/PDL/GSL/MROOT.pm +@@ -99,7 +99,7 @@ sub gslmroot_fsolver{ + + =for sig + +- Signature: (double xfree(n); double epsabs(); int method(); SV* funcion1) ++ Signature: (double xfree(n); double epsabs(); int method(); SV* function1) + + + =for ref +--- a/Lib/GSL/DIFF/gsl_diff.pd ++++ b/Lib/GSL/DIFF/gsl_diff.pd +@@ -138,10 +138,10 @@ pp_add_exported('gsldiff'); + + pp_def('diff_central', + Pars => 'double x(); double [o] res(); double [o] abserr();', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Docs => undef, + Code => ' +-ext_funname = $COMP(funcion); ++ext_funname = $COMP(function); + F.function = &FUNC; + F.params = 0; + gsl_diff_central (&F, $x(), $P(res), $P(abserr)); +@@ -149,10 +149,10 @@ gsl_diff_central (&F, $x(), $P(res), $P( + + pp_def('diff_backward', + Pars => 'double x(); double [o] res(); double [o] abserr();', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Docs => undef, + Code => ' +-ext_funname = $COMP(funcion); ++ext_funname = $COMP(function); + F.function = &FUNC; + F.params = 0; + gsl_diff_backward (&F, $x(), $P(res), $P(abserr)); +@@ -160,10 +160,10 @@ gsl_diff_backward (&F, $x(), $P(res), $P + + pp_def('diff_forward', + Pars => 'double x(); double [o] res(); double [o] abserr();', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Docs => undef, + Code => ' +-ext_funname = $COMP(funcion); ++ext_funname = $COMP(function); + F.function = &FUNC; + F.params = 0; + gsl_diff_forward (&F, $x(), $P(res), $P(abserr)); +--- a/Lib/GSL/INTEG/gsl_integ.pd ++++ b/Lib/GSL/INTEG/gsl_integ.pd +@@ -583,7 +583,7 @@ pp_def('qng_meat', + Pars => 'double a(); double b(); double epsabs(); + double epsrel(); double [o] result(); double [o] abserr(); + int [o] neval(); int [o] ierr(); int warn()', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Docs => undef, + Code => ' + gsl_error_handler_t * old_handler; +@@ -591,7 +591,7 @@ if ($warn() == 1) { old_handler = gsl_se + else { gsl_set_error_handler_off ();} + current_fun++; + if (current_fun >= (max_nested_integrals)) barf("Too many nested integrals, sorry!\n"); +-ext_funname[current_fun] = $COMP(funcion); ++ext_funname[current_fun] = $COMP(function); + F.function = &FUNC; + F.params = 0; + $ierr() = gsl_integration_qng(&F,$a(),$b(),$epsabs(),$epsrel(),$P(result),$P(abserr),(size_t *) $P(neval)); +@@ -616,7 +616,7 @@ sub gslinteg_qag{ + pp_def('qag_meat', + Pars => 'double a(); double b(); double epsabs();double epsrel(); int limit(); + int key(); double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Docs => undef, + Code =>' + gsl_error_handler_t * old_handler; +@@ -625,7 +625,7 @@ else { gsl_set_error_handler_off ();} + {gsl_integration_workspace *w; + current_fun++; + if (current_fun >= (max_nested_integrals)) barf("Too many nested integrals, sorry!\n"); +-ext_funname[current_fun] = $COMP(funcion); ++ext_funname[current_fun] = $COMP(function); + F.function = &FUNC; + F.params = 0; + w = gsl_integration_workspace_alloc((size_t) $n()); +@@ -652,7 +652,7 @@ sub gslinteg_qags{ + pp_def('qags_meat', + Pars => 'double a(); double b(); double epsabs();double epsrel(); int limit(); + double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Docs => undef, + Code =>' + gsl_error_handler_t * old_handler; +@@ -661,7 +661,7 @@ else { gsl_set_error_handler_off ();} + {gsl_integration_workspace *w; + current_fun++; + if (current_fun >= (max_nested_integrals)) barf("Too many nested integrals, sorry!\n"); +-ext_funname[current_fun] = $COMP(funcion); ++ext_funname[current_fun] = $COMP(function); + F.function = &FUNC; + F.params = 0; + w = gsl_integration_workspace_alloc((size_t) $n()); +@@ -688,7 +688,7 @@ sub gslinteg_qagp{ + pp_def('qagp_meat', + Pars => 'double pts(l); double epsabs();double epsrel();int limit(); + double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Code =>' + gsl_error_handler_t * old_handler; + if ($warn() == 1) { old_handler = gsl_set_error_handler(&my_handler); } +@@ -696,7 +696,7 @@ else { gsl_set_error_handler_off ();} + {gsl_integration_workspace *w; + current_fun++; + if (current_fun >= (max_nested_integrals)) barf("Too many nested integrals, sorry!\n"); +-ext_funname[current_fun] = $COMP(funcion); ++ext_funname[current_fun] = $COMP(function); + F.function = &FUNC; + F.params = 0; + w = gsl_integration_workspace_alloc((size_t) $n()); +@@ -723,7 +723,7 @@ sub gslinteg_qagi{ + pp_def('qagi_meat', + Pars => 'double epsabs();double epsrel(); int limit(); + double [o] result(); double [o] abserr(); int n(); int [o] ierr();int warn();', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Code =>' + gsl_error_handler_t * old_handler; + if ($warn() == 1) { old_handler = gsl_set_error_handler(&my_handler); } +@@ -731,7 +731,7 @@ else { gsl_set_error_handler_off ();} + {gsl_integration_workspace *w; + current_fun++; + if (current_fun >= (max_nested_integrals)) barf("Too many nested integrals, sorry!\n"); +-ext_funname[current_fun] = $COMP(funcion); ++ext_funname[current_fun] = $COMP(function); + F.function = &FUNC; + F.params = 0; + w = gsl_integration_workspace_alloc((size_t) $n()); +@@ -758,7 +758,7 @@ sub gslinteg_qagiu{ + pp_def('qagiu_meat', + Pars => 'double a(); double epsabs();double epsrel();int limit(); + double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Docs => undef, + Code =>' + gsl_error_handler_t * old_handler; +@@ -767,7 +767,7 @@ else { gsl_set_error_handler_off ();} + {gsl_integration_workspace *w; + current_fun++; + if (current_fun >= (max_nested_integrals)) barf("Too many nested integrals, sorry!\n"); +-ext_funname[current_fun] = $COMP(funcion); ++ext_funname[current_fun] = $COMP(function); + F.function = &FUNC; + F.params = 0; + w = gsl_integration_workspace_alloc((size_t) $n()); +@@ -794,7 +794,7 @@ sub gslinteg_qagil{ + pp_def('qagil_meat', + Pars => 'double b(); double epsabs();double epsrel();int limit(); + double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Docs => undef, + Code =>' + gsl_error_handler_t * old_handler; +@@ -803,7 +803,7 @@ else { gsl_set_error_handler_off ();} + {gsl_integration_workspace *w; + current_fun++; + if (current_fun >= (max_nested_integrals)) barf("Too many nested integrals, sorry!\n"); +-ext_funname[current_fun] = $COMP(funcion); ++ext_funname[current_fun] = $COMP(function); + F.function = &FUNC; + F.params = 0; + w = gsl_integration_workspace_alloc((size_t) $n()); +@@ -830,7 +830,7 @@ sub gslinteg_qawc{ + pp_def('qawc_meat', + Pars => 'double a(); double b(); double c(); double epsabs();double epsrel();int limit(); + double [o] result(); double [o] abserr();int n();int [o] ierr();int warn();', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Code =>' + gsl_error_handler_t * old_handler; + if ($warn() == 1) { old_handler = gsl_set_error_handler(&my_handler); } +@@ -838,7 +838,7 @@ else { gsl_set_error_handler_off ();} + {gsl_integration_workspace *w; + current_fun++; + if (current_fun >= (max_nested_integrals)) barf("Too many nested integrals, sorry!\n"); +-ext_funname[current_fun] = $COMP(funcion); ++ext_funname[current_fun] = $COMP(function); + F.function = &FUNC; + F.params = 0; + w = gsl_integration_workspace_alloc((size_t) $n()); +@@ -866,7 +866,7 @@ pp_def('qaws_meat', + Pars => 'double a(); double b();double epsabs();double epsrel();int limit(); + double [o] result(); double [o] abserr();int n(); + double alpha(); double beta(); int mu(); int nu();int [o] ierr();int warn();', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Code => ' + gsl_error_handler_t * old_handler; + if ($warn() == 1) { old_handler = gsl_set_error_handler(&my_handler); } +@@ -878,7 +878,7 @@ qtab = gsl_integration_qaws_table_alloc( + + current_fun++; + if (current_fun >= (max_nested_integrals)) barf("Too many nested integrals, sorry!\n"); +-ext_funname[current_fun] = $COMP(funcion); ++ext_funname[current_fun] = $COMP(function); + F.function = &FUNC; + F.params = 0; + w = gsl_integration_workspace_alloc((size_t) $n()); +@@ -914,7 +914,7 @@ pp_def('qawo_meat', + Pars => 'double a(); double b();double epsabs();double epsrel();int limit(); + double [o] result(); double [o] abserr();int n(); + int sincosopt(); double omega(); double L(); int nlevels();int [o] ierr();int warn();', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Code => ' + gsl_error_handler_t * old_handler; + if ($warn() == 1) { old_handler = gsl_set_error_handler(&my_handler); } +@@ -930,7 +930,7 @@ qtab = gsl_integration_qawo_table_alloc( + + current_fun++; + if (current_fun >= (max_nested_integrals)) barf("Too many nested integrals, sorry!\n"); +-ext_funname[current_fun] = $COMP(funcion); ++ext_funname[current_fun] = $COMP(function); + F.function = &FUNC; + F.params = 0; + w = gsl_integration_workspace_alloc((size_t) $n()); +@@ -965,7 +965,7 @@ pp_def('qawf_meat', + Pars => 'double a(); double epsabs();int limit(); + double [o] result(); double [o] abserr();int n(); + int sincosopt(); double omega(); int nlevels();int [o] ierr();int warn();', +- OtherPars => 'SV* funcion;', ++ OtherPars => 'SV* function;', + Code => ' + gsl_error_handler_t * old_handler; + if ($warn() == 1) { old_handler = gsl_set_error_handler(&my_handler); } +@@ -982,7 +982,7 @@ qtab = gsl_integration_qawo_table_alloc( + + current_fun++; + if (current_fun >= (max_nested_integrals)) barf("Too many nested integrals, sorry!\n"); +-ext_funname[current_fun] = $COMP(funcion); ++ext_funname[current_fun] = $COMP(function); + F.function = &FUNC; + F.params = 0; + +--- a/Lib/GSL/MROOT/gsl_mroot.pd ++++ b/Lib/GSL/MROOT/gsl_mroot.pd +@@ -26,10 +26,10 @@ sub gslmroot_fsolver{ + + pp_def('fsolver_meat', + Pars => 'double xfree(n); double epsabs(); int method();', +- OtherPars => 'SV* funcion1;', ++ OtherPars => 'SV* function1;', + Docs => undef, + Code =>' +-ext_funname1 = $COMP(funcion1); ++ext_funname1 = $COMP(function1); + ene = $SIZE(n); + fsolver($P(xfree), $SIZE(n), $epsabs(), $method()); + '); +--- a/GENERATED/PDL/GSL/RNG.pm ++++ b/GENERATED/PDL/GSL/RNG.pm +@@ -66,7 +66,7 @@ The avaible RNGs are: + ranlxs1 ranlxs2 ranmar slatec taus taus2 taus113 transputer tt800 + uni uni32 vax waterman14 zuf default + +-The last one (default) uses the enviroment variable GSL_RNG_TYPE. ++The last one (default) uses the environment variable GSL_RNG_TYPE. + + Note that only a few of these rngs are recommended for general + use. Please check the GSL documentation for more information. +@@ -289,7 +289,7 @@ Usage: + + =for usage + +- @choosen = $rng->ran_choose_vec($n,@vec); ++ @chosen = $rng->ran_choose_vec($n,@vec); + + =head2 ran_gaussian + +@@ -1219,7 +1219,7 @@ Example: + =for ref + + Returns a piddle with C<$n> values generated by the Verhulst map from C<$x0> and +-paramater C<$r>. ++parameter C<$r>. + + Usage: + +@@ -1231,7 +1231,7 @@ Usage: + + =for ref + +-Returns values from Verhuls map with C<$r=4.0> and randomly choosen ++Returns values from Verhuls map with C<$r=4.0> and randomly chosen + C<$x0>. The values are scaled by C<$m>. + + Usage: +--- a/Lib/GSL/RNG/gsl_random.pd ++++ b/Lib/GSL/RNG/gsl_random.pd +@@ -48,7 +48,7 @@ The avaible RNGs are: + ranlxs1 ranlxs2 ranmar slatec taus taus2 taus113 transputer tt800 + uni uni32 vax waterman14 zuf default + +-The last one (default) uses the enviroment variable GSL_RNG_TYPE. ++The last one (default) uses the environment variable GSL_RNG_TYPE. + + Note that only a few of these rngs are recommended for general + use. Please check the GSL documentation for more information. +@@ -271,7 +271,7 @@ Usage: + + =for usage + +- @choosen = $rng->ran_choose_vec($n,@vec); ++ @chosen = $rng->ran_choose_vec($n,@vec); + + =head2 ran_gaussian + +@@ -1201,7 +1201,7 @@ Example: + =for ref + + Returns a piddle with C<$n> values generated by the Verhulst map from C<$x0> and +-paramater C<$r>. ++parameter C<$r>. + + Usage: + +@@ -1213,7 +1213,7 @@ Usage: + + =for ref + +-Returns values from Verhuls map with C<$r=4.0> and randomly choosen ++Returns values from Verhuls map with C<$r=4.0> and randomly chosen + C<$x0>. The values are scaled by C<$m>. + + Usage: +--- a/Basic/Core/pdlthread.c ++++ b/Basic/Core/pdlthread.c +@@ -45,7 +45,7 @@ void dump_thread(pdl_thread *thread) { + printf("DUMPTHREAD %p \n",(void*)thread); + if (0&& thread->einfo) { + psp; printf("Funcname: %s\n",thread->einfo->funcname); +- psp; printf("Paramaters: "); ++ psp; printf("Parameters: "); + for (i=0;i<thread->einfo->nparamnames;i++) + printf("%s ",thread->einfo->paramnames[i]); + printf("\n"); +--- a/Graphics/PGPLOT/PGPLOT.pm ++++ b/Graphics/PGPLOT/PGPLOT.pm +@@ -58,7 +58,7 @@ Device manipulation commands: + dev - Explicitly set a new PGPLOT graphics device + new_window - Create a new plot window (use of dev is recommended) + focus_window - Change focus to a new window +- window_list - Get a list of currently exisiting plot windows ++ window_list - Get a list of currently existing plot windows + close_window - Close an open window + + +--- a/Changes ++++ b/Changes +@@ -2334,7 +2334,7 @@ General Notes: + + Announcements to the perldl mailing list will be + made when the PDL::Graphics::OpenGL::Perl and +- Term::ReadLine::FreeGLUT suport is on CPAN. ++ Term::ReadLine::FreeGLUT support is on CPAN. + + - Builds out-of-the-box on cygwin and win32 + +--- a/DEPENDENCIES ++++ b/DEPENDENCIES +@@ -48,7 +48,7 @@ PDL::NiceSlice Text::Balanced >= 1.89 + Module::Compile implementation under development. + + +-Inline::Pdlpp Inline >= 0.68 This module allows to define fast ++Inline::Pdlpp Inline >= 0.68 This module allows defining fast + Inline::C >= 0.62 PP code inline in your scripts. + + NOTE: Though Inline is listed as as +--- a/Graphics/PGPLOT/PGPLOTOptions.pm ++++ b/Graphics/PGPLOT/PGPLOTOptions.pm +@@ -18,7 +18,7 @@ file reading commands etc. + The following is a listing of options that are set in this file and what + they do and what their default value is + +-=head2 Window specfic options ++=head2 Window specific options + + These options modify the appearance of windows and can also modify the + default settings for creation of plot axes etc. +--- a/Graphics/TriD/TriD/Contours.pm ++++ b/Graphics/TriD/TriD/Contours.pm +@@ -45,7 +45,7 @@ Define a new contour plot for TriD. + + where $d is a 2D pdl of data to be contoured. [$x,$y,$z] define a 3D + map of $d into the visualization space [$r,$g,$b] is an optional [3,1] +-piddle specifing the contour color and $options is a hash reference to ++piddle specifying the contour color and $options is a hash reference to + a list of options documented below. Contours can also be colored by + value using the set_color_table function. + +--- a/GENERATED/PDL/IO/GD.pm ++++ b/GENERATED/PDL/IO/GD.pm +@@ -86,7 +86,7 @@ piddle variables. It's deceptively usefu + + Signature: (byte img(x,y); byte lut(i,j); char* filename) + +-Writes a 2-d PDL varable out to a PNG file, using the supplied color look-up-table piddle ++Writes a 2-d PDL variable out to a PNG file, using the supplied color look-up-table piddle + (hereafter referred to as a LUT). + + The LUT contains a line for each value 0-255 with a corresponding R, G, and B value. +@@ -119,7 +119,7 @@ It will set the bad-value flag of all ou + + =for ref + +-Same as write_png(), except you can specify the compression level (0-9) as the last arguement. ++Same as write_png(), except you can specify the compression level (0-9) as the last argument. + + + =for bad +@@ -147,7 +147,7 @@ It will set the bad-value flag of all ou + + Signature: (img(x,y,z); char* filename) + +-Writes an (x, y, z(3)) PDL varable out to a PNG file, using a true color format. ++Writes an (x, y, z(3)) PDL variable out to a PNG file, using a true color format. + + This means a larger file on disk, but can contain more than 256 colors. + +@@ -179,7 +179,7 @@ It will set the bad-value flag of all ou + + =for ref + +-Same as write_true_png(), except you can specify the compression level (0-9) as the last arguement. ++Same as write_true_png(), except you can specify the compression level (0-9) as the last argument. + + + =for bad +--- a/IO/GD/GD.pd ++++ b/IO/GD/GD.pd +@@ -91,7 +91,7 @@ pp_def( 'write_png', + Pars => 'byte img(x,y); byte lut(i,j);', + OtherPars => 'char* filename', + Doc => <<'ENDDOC', +-Writes a 2-d PDL varable out to a PNG file, using the supplied color look-up-table piddle ++Writes a 2-d PDL variable out to a PNG file, using the supplied color look-up-table piddle + (hereafter referred to as a LUT). + + The LUT contains a line for each value 0-255 with a corresponding R, G, and B value. +@@ -150,7 +150,7 @@ pp_def( 'write_png_ex', + Pars => 'img(x,y); lut(i,j);', + OtherPars => 'char* filename; int level', + Doc => <<'ENDDOC', +-Same as write_png(), except you can specify the compression level (0-9) as the last arguement. ++Same as write_png(), except you can specify the compression level (0-9) as the last argument. + ENDDOC + Code => <<'EOC' ); + +@@ -211,7 +211,7 @@ pp_def( 'write_true_png', + Pars => 'img(x,y,z);', + OtherPars => 'char* filename', + Doc => <<'ENDDOC', +-Writes an (x, y, z(3)) PDL varable out to a PNG file, using a true color format. ++Writes an (x, y, z(3)) PDL variable out to a PNG file, using a true color format. + + This means a larger file on disk, but can contain more than 256 colors. + ENDDOC +@@ -259,7 +259,7 @@ pp_def( 'write_true_png_ex', + Pars => 'img(x,y,z);', + OtherPars => 'char* filename; int level', + Doc => <<'ENDDOC', +-Same as write_true_png(), except you can specify the compression level (0-9) as the last arguement. ++Same as write_true_png(), except you can specify the compression level (0-9) as the last argument. + ENDDOC + Code => <<'EOC' ); + +@@ -2050,7 +2050,7 @@ ENDSHORTCODE + } # End of generate_pp_def_members... + + # +-# Functions not specific to one object, but that need to take objects as arguements: ++# Functions not specific to one object, but that need to take objects as arguments: + # + sub generate_class_functions + { +--- a/GENERATED/PDL/IO/HDF/SD.pm ++++ b/GENERATED/PDL/IO/HDF/SD.pm +@@ -108,7 +108,7 @@ PDL::IO::HDF::SD - PDL interface to the + This library provides functions to read, write, and manipulate + HDF4 files with HDF's SD interface. + +-For more infomation on HDF4, see http://hdf.ncsa.uiuc.edu/ ++For more information on HDF4, see http://hdf.ncsa.uiuc.edu/ + + There have been a lot of changes starting with version 2.0, and these may affect + your code. PLEASE see the 'Changes' file for a detailed description of what +@@ -802,7 +802,7 @@ sub SDgetcal + + Returns a PDL of data if ok, PDL::null on error. + +- If the slice arguements are not given, this function will read the entire ++ If the slice arguments are not given, this function will read the entire + SDS from the file. + + The type of the returned PDL variable is the PDL equivalent of what was +--- a/IO/HDF/SD/SD.pd ++++ b/IO/HDF/SD/SD.pd +@@ -86,7 +86,7 @@ PDL::IO::HDF::SD - PDL interface to the + This library provides functions to read, write, and manipulate + HDF4 files with HDF's SD interface. + +-For more infomation on HDF4, see http://hdf.ncsa.uiuc.edu/ ++For more information on HDF4, see http://hdf.ncsa.uiuc.edu/ + + There have been a lot of changes starting with version 2.0, and these may affect + your code. PLEASE see the 'Changes' file for a detailed description of what +@@ -1030,7 +1030,7 @@ sub SDgetcal + + Returns a PDL of data if ok, PDL::null on error. + +- If the slice arguements are not given, this function will read the entire ++ If the slice arguments are not given, this function will read the entire + SDS from the file. + + The type of the returned PDL variable is the PDL equivalent of what was +--- a/GENERATED/PDL/IO/HDF.pm ++++ b/GENERATED/PDL/IO/HDF.pm +@@ -36,9 +36,9 @@ PDL::IO::HDF - An interface library for + =head1 DESCRIPTION + + This librairy provide functions to manipulate +-HDF4 files with VS and V interface (reading, writting, ...) ++HDF4 files with VS and V interface (reading, writing, ...) + +-For more infomation on HDF4, see http://www.hdfgroup.org/products/hdf4/ ++For more information on HDF4, see http://www.hdfgroup.org/products/hdf4/ + + =head1 FUNCTIONS + +--- a/IO/HDF/HDF.pm ++++ b/IO/HDF/HDF.pm +@@ -25,7 +25,7 @@ PDL::IO::HDF - A PDL interface to the HD + This library provides functions to manipulate HDF files with the + SD, VS, and V HDF interfaces. + +-For more infomation on HDF, see http://hdf.ncsa.uiuc.edu/ ++For more information on HDF, see http://hdf.ncsa.uiuc.edu/ + + The 'new' function of this package uses the 'new' functions for the + individual HDF interfaces. This allows you to use all of the interfaces +@@ -53,7 +53,7 @@ use PDL::IO::HDF::VS; + + These constants are now implented using the perl 'use constant' pragma. + +-Previously, they were just scalars that were changable (which is a no-no). ++Previously, they were just scalars that were changeable (which is a no-no). + + See constant(1) for more info on how to use these in your code. + +--- a/IO/HDF/VS/VS.pd ++++ b/IO/HDF/VS/VS.pd +@@ -14,9 +14,9 @@ PDL::IO::HDF - An interface library for + =head1 DESCRIPTION + + This librairy provide functions to manipulate +-HDF4 files with VS and V interface (reading, writting, ...) ++HDF4 files with VS and V interface (reading, writing, ...) + +-For more infomation on HDF4, see http://www.hdfgroup.org/products/hdf4/ ++For more information on HDF4, see http://www.hdfgroup.org/products/hdf4/ + + =head1 FUNCTIONS + +--- a/GENERATED/PDL/IO/Misc.pm ++++ b/GENERATED/PDL/IO/Misc.pm +@@ -381,7 +381,7 @@ For example: + 4. LINES => '-1:0:3' may not work as you expect, since lines are skipped + when read in, then the whole array reversed. + +- 5. For consistancy with wcols and rcols 1D usage, column data is loaded ++ 5. For consistency with wcols and rcols 1D usage, column data is loaded + into the rows of the pdls (i.e., dim(0) is the elements read per column + in the file and dim(1) is the number of columns of data read. + +--- a/Graphics/Graphics2D.pm ++++ b/Graphics/Graphics2D.pm +@@ -202,7 +202,7 @@ sub mouse_click { + die "mouse_click: callback could not find image window\n" unless defined $img; + + # calculate zoom/aspect ratio factors +- my $glds = 0; $glds = 1 if $img->dim(0) < 5; # hack, need verify consistancy ++ my $glds = 0; $glds = 1 if $img->dim(0) < 5; # hack, need verify consistency + + my $zoom_x = $width / $img->dim($glds+0); + my $zoom_y = $height / $img->dim($glds+1); +@@ -257,7 +257,7 @@ sub resize_window { + die "resize_window: callback could not find image window\n" unless defined $img; + + # calculate zoom/aspect ratio factors +- my $glds = 0; $glds = 1 if $img->dim(0) < 5; # hack, need verify consistancy ++ my $glds = 0; $glds = 1 if $img->dim(0) < 5; # hack, need verify consistency + + my $zoom_x = $width / $img->dim($glds+0); + my $zoom_y = $height / $img->dim($glds+1); +--- a/IO/Misc/misc.pd ++++ b/IO/Misc/misc.pd +@@ -354,7 +354,7 @@ For example: + 4. LINES => '-1:0:3' may not work as you expect, since lines are skipped + when read in, then the whole array reversed. + +- 5. For consistancy with wcols and rcols 1D usage, column data is loaded ++ 5. For consistency with wcols and rcols 1D usage, column data is loaded + into the rows of the pdls (i.e., dim(0) is the elements read per column + in the file and dim(1) is the number of columns of data read. + +--- a/GENERATED/PDL/IO/Pnm.pm ++++ b/GENERATED/PDL/IO/Pnm.pm +@@ -474,7 +474,7 @@ sub PDL::wpnm { + + The stderr of the converters is redirected to a file. The filename is + currently generated in a probably non-portable way. A method that avoids +-a file (and is portable) would be prefered. ++a file (and is portable) would be preferred. + + C<rpnm> currently relies on the fact that the header is separated + from the image data by a newline. This is not required by the p[bgp]m +--- a/IO/Pnm/pnm.pd ++++ b/IO/Pnm/pnm.pd +@@ -339,7 +339,7 @@ sub PDL::wpnm { + + The stderr of the converters is redirected to a file. The filename is + currently generated in a probably non-portable way. A method that avoids +-a file (and is portable) would be prefered. ++a file (and is portable) would be preferred. + + C<rpnm> currently relies on the fact that the header is separated + from the image data by a newline. This is not required by the p[bgp]m +--- a/Basic/Options.pm ++++ b/Basic/Options.pm +@@ -930,7 +930,7 @@ the second uses the object-oriented inte + } + ); + +-This will return a hash containg ++This will return a hash containing + + %options = ( + LINE => 1, +--- a/IO/Pnm/Pic.pm ++++ b/IO/Pnm/Pic.pm +@@ -421,7 +421,7 @@ e.g. + =item LUT + + This is a palette image and the value of this key should be a +-pdl containg an RGB lookup table (3,x), e.g. ++pdl containing an RGB lookup table (3,x), e.g. + + LUT => $lut, + +--- a/Basic/Primitive/primitive.pd ++++ b/Basic/Primitive/primitive.pd +@@ -842,7 +842,7 @@ test if a is in the set of values b + print pdl(3,1,4,6,2)->in(pdl(2,3,3)); + [1 0 0 0 1] + +-C<in> is akin to the I<is an element of> of set theory. In priciple, ++C<in> is akin to the I<is an element of> of set theory. In principle, + PDL threading could be used to achieve its functionality by using a + construct like + +@@ -1034,7 +1034,7 @@ higher dimensions are taken to run acros + value is always 2D; any structure of the input PDL (beyond using + the 0th dimension for vector index) is lost. + +-See also L<uniq|uniq> for a uniqe list of scalars; and ++See also L<uniq|uniq> for a unique list of scalars; and + L<qsortvec|PDL::Ufunc/qsortvec> for sorting a list of vectors + lexicographcally. + +@@ -3752,7 +3752,7 @@ Finally find all odd squares: + pdl> $odd_squares = setops($squares, 'AND', $odd) + + +-Another common occurance is to want to get all objects that are ++Another common occurrence is to want to get all objects that are + in C<$a> and in the complement of C<$b>. But it is almost always best + to create the complement explicitly since the universe that both are + taken from is not known. Thus use L<which_both|which_both> if possible +--- a/GENERATED/PDL/Primitive.pm ++++ b/GENERATED/PDL/Primitive.pm +@@ -670,7 +670,7 @@ test if a is in the set of values b + print pdl(3,1,4,6,2)->in(pdl(2,3,3)); + [1 0 0 0 1] + +-C<in> is akin to the I<is an element of> of set theory. In priciple, ++C<in> is akin to the I<is an element of> of set theory. In principle, + PDL threading could be used to achieve its functionality by using a + construct like + +@@ -861,7 +861,7 @@ higher dimensions are taken to run acros + value is always 2D; any structure of the input PDL (beyond using + the 0th dimension for vector index) is lost. + +-See also L<uniq|uniq> for a uniqe list of scalars; and ++See also L<uniq|uniq> for a unique list of scalars; and + L<qsortvec|PDL::Ufunc/qsortvec> for sorting a list of vectors + lexicographcally. + +@@ -3337,7 +3337,7 @@ Finally find all odd squares: + pdl> $odd_squares = setops($squares, 'AND', $odd) + + +-Another common occurance is to want to get all objects that are ++Another common occurrence is to want to get all objects that are + in C<$a> and in the complement of C<$b>. But it is almost always best + to create the complement explicitly since the universe that both are + taken from is not known. Thus use L<which_both|which_both> if possible +--- a/Graphics/State.pm ++++ b/Graphics/State.pm +@@ -38,7 +38,7 @@ options to the command. + + If you know the order in which you inserted commands they can be removed + by calling C<remove> with the number in the stack. No further interaction +-is implmented except C<clear> which clears the stack and C<copy> which ++is implemented except C<clear> which clears the stack and C<copy> which + returns a "deep" copy of the state. + + +--- a/Basic/Core/pdlapi.c ++++ b/Basic/Core/pdlapi.c +@@ -420,7 +420,7 @@ void pdl_dump_flags_fixspace(int flags, + printf("\n"); + } + +-/* Dump a tranformation (don't dump the pdls, just pointers to them */ ++/* Dump a transformation (don't dump the pdls, just pointers to them */ + void pdl_dump_trans_fixspace (pdl_trans *it, int nspac) { + int i; + char spaces[PDL_MAXSPACE]; +--- a/GENERATED/PDL/Transform.pm ++++ b/GENERATED/PDL/Transform.pm +@@ -409,7 +409,7 @@ transform. + + =for usage + +- $b = $a->map($xform,[<template>],[\%opt]); # Distort $a with tranform $xform ++ $b = $a->map($xform,[<template>],[\%opt]); # Distort $a with transform $xform + $b = $a->map(t_identity,[$pdl],[\%opt]); # rescale $a to match $pdl's dims. + + =for ref +@@ -2082,7 +2082,7 @@ sub PDL::Transform::Linear::stringify { + + Convenience interface to L<t_linear|/t_linear>. + +-t_scale produces a tranform that scales around the origin by a fixed ++t_scale produces a transform that scales around the origin by a fixed + amount. It acts exactly the same as C<t_linear(Scale=>\<scale\>)>. + + =cut +--- a/Lib/Transform/transform.pd ++++ b/Lib/Transform/transform.pd +@@ -1290,7 +1290,7 @@ transform. + + =for usage + +- $b = $a->map($xform,[<template>],[\%opt]); # Distort $a with tranform $xform ++ $b = $a->map($xform,[<template>],[\%opt]); # Distort $a with transform $xform + $b = $a->map(t_identity,[$pdl],[\%opt]); # rescale $a to match $pdl's dims. + + =for ref +@@ -2973,7 +2973,7 @@ pp_addpm(<<'+======EOD_t_scale======'); + + Convenience interface to L<t_linear|/t_linear>. + +-t_scale produces a tranform that scales around the origin by a fixed ++t_scale produces a transform that scales around the origin by a fixed + amount. It acts exactly the same as C<t_linear(Scale=>\<scale\>)>. + + =cut +--- a/Lib/Transform/Cartography/Cartography.pm ++++ b/Lib/Transform/Cartography/Cartography.pm +@@ -2519,7 +2519,7 @@ sub t_vertical { + (Cartography) Arbitrary perspective projection + + Perspective projection onto a focal plane from an arbitrary location +-within or without the sphere, with an arbitary central look direction, ++within or without the sphere, with an arbitrary central look direction, + and with correction for magnification within the optical system. + + In the forward direction, t_perspective generates perspective views of +@@ -2541,7 +2541,7 @@ magnification of your camera, a simple r + magnification of a reflective telescope is roughly its focal length + (plate scale) divided by its physical length; and the magnification of + a compound refractive telescope is roughly twice its physical length divided +-by its focal length. Simple optical sytems with a single optic have ++by its focal length. Simple optical systems with a single optic have + magnification = 1. Fisheye lenses have magnification < 1. + + This transformation was derived by direct geometrical calculation -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pdl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
