The GSL-FFI-BLOCK module¶
The <gsl-block> type¶
- <gsl-block> Type¶
- Superclasses:
<c-struct>
- Discussion:
A block of memory allocated by the GSL.
- Slots:
Allocation functions¶
- gsl-block-alloc Function¶
- Signature:
gsl-block-alloc (n) => (block)
- Parameters:
n – An instance of <c-size-t>.
- Values:
block – An instance of <gsl-block*>.
- Discussion:
Allocate an array of n elements in a block of memory.
- gsl-block-calloc Function¶
- Signature:
gsl-block-calloc (n) => (block)
- Parameters:
n – An instance of <c-size-t>.
- Values:
block – An instance of <gsl-block*>.
- Discussion:
Allocate an array of n elements in a block of memory and initialize all elements to zero.
- gsl-block-free Function¶
- Signature:
gsl-block-free (block) => ()
- Parameters:
block – An instance of <gsl-block*>.