[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
7.5.5 SRFI-4 - Homogeneous numeric vector datatypes
SRFI-4 provides an interface to uniform numeric vectors: vectors whose elements are all of a single numeric type. Guile offers uniform numeric vectors for signed and unsigned 8-bit, 16-bit, 32-bit, and 64-bit integers, two sizes of floating point values, and, as an extension to SRFI-4, complex floating-point numbers of these two sizes.
The standard SRFI-4 procedures and data types may be included via loading the appropriate module:
(use-modules (srfi srfi-4))
This module is currently a part of the default Guile environment, but it is a good practice to explicitly import the module. In the future, using SRFI-4 procedures without importing the SRFI-4 module will cause a deprecation message to be printed. (Of course, one may call the C functions at any time. Would that C had modules!)
7.5.5.1 SRFI-4 - Overview | The warp and weft of uniform numeric vectors. | |
7.5.5.2 SRFI-4 - API | Uniform vectors, from Scheme and from C. | |
7.5.5.3 SRFI-4 - Generic operations | The general, operating on the specific. | |
7.5.5.4 SRFI-4 - Relation to bytevectors | SRFI-4 vectors are backed by bytevectors. | |
7.5.5.5 SRFI-4 - Guile extensions | Guile-specific extensions to the standard. |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on April 20, 2013 using texi2html 5.0.