-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path231.sld
124 lines (119 loc) · 2.63 KB
/
231.sld
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
(define-library (srfi 231)
(export
;; Miscellaneous Functions
translation?
permutation?
index-rotate
index-first
index-last
index-swap
;; Intervals
make-interval
interval?
interval-dimension
interval-lower-bound interval-upper-bound interval-width
interval-lower-bounds->list interval-upper-bounds->list
interval-lower-bounds->vector interval-upper-bounds->vector
interval=
interval-widths interval-volume interval-empty?
interval-subset?
interval-contains-multi-index?
interval-projections
interval-for-each
interval-fold-left interval-fold-right
interval-dilate
interval-intersect
interval-translate
interval-permute
interval-scale
interval-cartesian-product
;; Storage Classes
make-storage-class
storage-class?
storage-class-getter
storage-class-setter
storage-class-checker
storage-class-maker
storage-class-copier
storage-class-length
storage-class-default
storage-class-data?
storage-class-data->body
generic-storage-class
char-storage-class
s8-storage-class
s16-storage-class
s32-storage-class
s64-storage-class
u1-storage-class
u8-storage-class
u16-storage-class
u32-storage-class
u64-storage-class
f8-storage-class
f16-storage-class
f32-storage-class
f64-storage-class
c64-storage-class
c128-storage-class
;; Arrays
make-array
array?
array-domain
array-getter
array-dimension
mutable-array?
array-setter
array-freeze!
specialized-array-default-safe?
specialized-array-default-mutable?
array-empty?
make-specialized-array
make-specialized-array-from-data
specialized-array?
array-storage-class
array-indexer
array-body
array-safe?
array-packed?
specialized-array-share
array-curry
array-extract
array-tile
array-translate
array-permute
array-reverse
array-sample
array-outer-product
array-inner-product
array-map
array-for-each
array-fold-left
array-fold-right
array-reduce
array-any
array-every
array->list
list->array
list*->array
array->list*
array->vector
vector->array
vector*->array
array->vector*
array-assign!
array-copy array-copy!
array-append array-append!
array-block array-block!
array-stack array-stack!
array-decurry array-decurry!
specialized-array-reshape
array-ref
array-set!
)
(cond-expand
(gambit
(import (gambit)))
(else
(import (scheme base))))
(include "generic-arrays.scm"))