chickadee » srfi-4 » s16vector-set!

u8vector-set! U8VECTOR I U8VALUEprocedure
s8vector-set! S8VECTOR I S8VALUEprocedure
u16vector-set! U16VECTOR I U16VALUEprocedure
s16vector-set! S16VECTOR I S16VALUEprocedure
u32vector-set! U32VECTOR I U32VALUEprocedure
s32vector-set! S32VECTOR I S32VALUEprocedure
u64vector-set! U64VECTOR I U64VALUEprocedure
s64vector-set! S64VECTOR I S64VALUEprocedure
f32vector-set! F32VECTOR I F32VALUEprocedure
f64vector-set! F64VECTOR I F64VALUEprocedure

Set the ith element of the SRFI-4 homogeneous number VECTOR to VALUE. I is a nonnegative exact integer less than the length of the vector and VALUE must be the same type as the elements of the vector datatype.

Additionally, SRFI-17 setters are defined on all xxxvector-ref procedures. For example, to set the ith element of SRFI-4 u8vector to u8value:

(set! (u8vector-ref u8vector i) u8value)