Math::GSL::NTuple(3pm)

Math::GSL::NTuple3pm

Functions for creating and manipulating ntuples, sets of values

Usage

This module is partially implemented. Patches Welcome!

    use Math::GSL::NTuple qw /:all/;

Overview

Here is a list of all the functions in this module :

•

<gsl_ntuple_open($filename, $ntuple_data, $size)>

This function opens an existing ntuple file $filename for reading and returns a pointer to a corresponding ntuple struct. The ntuples in the file must have size $size. A pointer to memory for the current ntuple row $ntuple_data, which is an array reference, must be supplied -- this is used to copy ntuples in and out of the file.

•

<gsl_ntuple_create>

This function creates a new write-only ntuple file $filename for ntuples of size $size and returns a pointer to the newly created ntuple struct. Any existing file with the same name is truncated to zero length and overwritten. A pointer to memory for the current ntuple row $ntuple_data, which is an array reference, must be supplied -- this is used to copy ntuples in and out of the file.

•

<gsl_ntuple_write($ntuple)>

This function writes the current $ntuple $ntuple->{ntuple_data} of size $ntuple->{size} to the corresponding file.

•

<gsl_ntuple_bookdata($ntuple)>

This function is a synonym for gsl_ntuple_write.

•

<gsl_ntuple_read($ntuple)>

This function reads the current row of the ntuple file for ntuple and stores the values in $ntuple->{data}.

•

<gsl_ntuple_project()>

•

<gsl_ntuple_close($ntuple)>

This function closes the ntuple file ntuple and frees its associated allocated memory.

For more information on the functions, we refer you to the GSL official documentation: <http://www.gnu.org/software/gsl/manual/html_node/>

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Authors

Jonathan "Duke" Leto <[email protected]> and Thierry Moisan <[email protected]>

From libmath-gsl-perl 0.45-2+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.