GNU Scientific Library – Reference Manual: The ntuple struct

Next: Creating ntuples, Up: N-tuples [Index]

### 23.1 The ntuple struct

Ntuples are manipulated using the `gsl_ntuple` struct. This struct contains information on the file where the ntuple data is stored, a pointer to the current ntuple data row and the size of the user-defined ntuple data struct.

    typedef struct {
        FILE * file;
        void * ntuple_data;
        size_t size;
    } gsl_ntuple;