1. Module srfi-4

Module srfi-4

This module only reexports a subset of (chicken number-vector). Also see the original SRFI-4 document.

When loaded, the feature identifier srfi-4 is defined.

The module exports the following identifiers:

[procedure] (subu8vector U8VECTOR FROM TO)
[procedure] (subu16vector U16VECTOR FROM TO)
[procedure] (subu32vector U32VECTOR FROM TO)
[procedure] (subu64vector U32VECTOR FROM TO)
[procedure] (subs8vector S8VECTOR FROM TO)
[procedure] (subs16vector S16VECTOR FROM TO)
[procedure] (subs32vector S32VECTOR FROM TO)
[procedure] (subs64vector S32VECTOR FROM TO)
[procedure] (subf32vector F32VECTOR FROM TO)
[procedure] (subf64vector F64VECTOR FROM TO)
[procedure] (u8vector? OBJ)
[procedure] (s8vector? OBJ)
[procedure] (u16vector? OBJ)
[procedure] (s16vector? OBJ)
[procedure] (u32vector? OBJ)
[procedure] (s32vector? OBJ)
[procedure] (u64vector? OBJ)
[procedure] (s64vector? OBJ)
[procedure] (f32vector? OBJ)
[procedure] (f64vector? OBJ)
[procedure] (make-u8vector N [U8VALUE NONGC FINALIZE])
[procedure] (make-s8vector N [S8VALUE NONGC FINALIZE])
[procedure] (make-u16vector N [U16VALUE NONGC FINALIZE])
[procedure] (make-s16vector N [S16VALUE NONGC FINALIZE])
[procedure] (make-u32vector N [U32VALUE NONGC FINALIZE])
[procedure] (make-s32vector N [S32VALUE NONGC FINALIZE])
[procedure] (make-u64vector N [U64VALUE NONGC FINALIZE])
[procedure] (make-s64vector N [S64VALUE NONGC FINALIZE])
[procedure] (make-f32vector N [F32VALUE NONGC FINALIZE])
[procedure] (make-f64vector N [F64VALUE NONGC FINALIZE])
[procedure] (u8vector U8VALUE ...)
[procedure] (s8vector S8VALUE ...)
[procedure] (u16vector U16VALUE ...)
[procedure] (s16vector S16VALUE ...)
[procedure] (u32vector U32VALUE ...)
[procedure] (s32vector S32VALUE ...)
[procedure] (u64vector U64VALUE ...)
[procedure] (s64vector S64VALUE ...)
[procedure] (f32vector F32VALUE ...)
[procedure] (f64vector F64VALUE ...)
[procedure] (u8vector-length U8VECTOR)
[procedure] (s8vector-length S8VECTOR)
[procedure] (u16vector-length U16VECTOR)
[procedure] (s16vector-length S16VECTOR)
[procedure] (u32vector-length U32VECTOR)
[procedure] (s32vector-length S32VECTOR)
[procedure] (u64vector-length U64VECTOR)
[procedure] (s64vector-length S64VECTOR)
[procedure] (f32vector-length F32VECTOR)
[procedure] (f64vector-length F64VECTOR)
[procedure] (u8vector-ref U8VECTOR I)
[procedure] (s8vector-ref S8VECTOR i)
[procedure] (u16vector-ref U16VECTOR I)
[procedure] (s16vector-ref S16VECTOR I)
[procedure] (u32vector-ref U32VECTOR I)
[procedure] (s32vector-ref S32VECTOR I)
[procedure] (u64vector-ref U64VECTOR I)
[procedure] (s64vector-ref S64VECTOR I)
[procedure] (f32vector-ref F32VECTOR I)
[procedure] (f64vector-ref F64VECTOR I)
[procedure] (u8vector-set! U8VECTOR I U8VALUE)
[procedure] (s8vector-set! S8VECTOR I S8VALUE)
[procedure] (u16vector-set! U16VECTOR I U16VALUE)
[procedure] (s16vector-set! S16VECTOR I S16VALUE)
[procedure] (u32vector-set! U32VECTOR I U32VALUE)
[procedure] (s32vector-set! S32VECTOR I S32VALUE)
[procedure] (u64vector-set! U64VECTOR I U64VALUE)
[procedure] (s64vector-set! S64VECTOR I S64VALUE)
[procedure] (f32vector-set! F32VECTOR I F32VALUE)
[procedure] (f64vector-set! F64VECTOR I F64VALUE)
[procedure] (u8vector->list U8VECTOR)
[procedure] (s8vector->list S8VECTOR)
[procedure] (u16vector->list U16VECTOR)
[procedure] (s16vector->list S16VECTOR)
[procedure] (u32vector->list U32VECTOR)
[procedure] (s32vector->list S32VECTOR)
[procedure] (u64vector->list U64VECTOR)
[procedure] (s64vector->list S64VECTOR)
[procedure] (f32vector->list F32VECTOR)
[procedure] (f64vector->list F64VECTOR)
[procedure] (list->u8vector U8LIST)
[procedure] (list->s8vector S8LIST)
[procedure] (list->u16vector U16LIST)
[procedure] (list->s16vector S16LIST)
[procedure] (list->u32vector U32LIST)
[procedure] (list->s32vector S32LIST)
[procedure] (list->u64vector U64LIST)
[procedure] (list->s64vector S64LIST)
[procedure] (list->f32vector F32LIST)
[procedure] (list->f64vector F64LIST)

Previous: Module (chicken type)

Next: Interface to external functions and variables