ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ntuple_list_s Struct Reference

Public Attributes

unsigned int size
 
unsigned int max_size
 
unsigned int dim
 
double * values
 

Detailed Description

'list of n-tuple' data type

The i-th component of the j-th n-tuple of an n-tuple list 'ntl' is accessed with:

ntl->values[ i + j * ntl->dim ]

The dimension of the n-tuple (n) is:

ntl->dim

The number of n-tuples in the list is:

ntl->size

The maximum number of n-tuples that can be stored in the list with the allocated memory at a given time is given by:

ntl->max_size

Definition at line 238 of file lsd.c.

Member Data Documentation

◆ dim

unsigned int ntuple_list_s::dim

Definition at line 242 of file lsd.c.

Referenced by enlarge_ntuple_list(), and new_ntuple_list().

◆ max_size

unsigned int ntuple_list_s::max_size

Definition at line 241 of file lsd.c.

Referenced by enlarge_ntuple_list(), and new_ntuple_list().

◆ size

unsigned int ntuple_list_s::size

Definition at line 240 of file lsd.c.

Referenced by new_ntuple_list().

◆ values

double* ntuple_list_s::values

Definition at line 243 of file lsd.c.

Referenced by enlarge_ntuple_list(), and new_ntuple_list().


The documentation for this struct was generated from the following file: