bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] Error in the gsl documentation (Matrix section)


From: Brian Gough
Subject: Re: [Bug-gsl] Error in the gsl documentation (Matrix section)
Date: Fri, 27 Jan 2006 19:12:49 +0000

address@hidden writes:
 > Hello,
 > 
 > there is (I think) an error in the gsl documentation :
 > 
 > section : Vectors and Matrices
 > subsection : Finding maximum and minimum elements of matrices
 > 
 > the function "void gsl_matrix_minmax_index (const gsl_matrix * m, size_t *
 > imin, size_t * imax)" not exists...
 > 
 > I think the correct prototype is : void gsl_matrix_minmax_index (const
 > gsl_matrix*, size_t*, size_t*, size_t*, size_t*)

Thanks for the bug report.  This will be fixed in the next release.
The correct definition is shown below.

-- 
Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/


@deftypefun void gsl_matrix_minmax_index (const gsl_matrix * @var{m}, size_t * 
@var{imin}, size_t * @var{jmin}, size_t * @var{imax}, size_t * @var{jmax})
This function returns the indices of the minimum and maximum values in
the matrix @var{m}, storing them in (@var{imin},@var{jmin}) and
(@var{imax},@var{jmax}). When there are several equal minimum or maximum
elements then the first elements found are returned, searching in
row-major order.
@end deftypefun




reply via email to

[Prev in Thread] Current Thread [Next in Thread]