
* Finally added `array-axis-expand' as a dual for `array-axis-reduce' in order to implement `vandermonde-matrix' elegantly * Better, shorter matrix multiply; reworked all matrix arithmetic * Split "matrix-operations.rkt" into at least 5 parts: * "matrix-operations.rkt" * "matrix-basic.rkt" * "matrix-comprehension.rkt" * "matrix-sequences.rkt" * "matrix-column.rkt" Added "matrix-constructors.rkt" Added `matrix', `row-matrix', and `col-matrix' macros A lot of other little changes Currently, `in-row' and `in-column' are broken. I intend to implement them in a way that makes them work in untyped and Typed Racket.
58 lines
2.1 KiB
Racket
58 lines
2.1 KiB
Racket
#lang racket/base
|
|
|
|
(require "private/array/array-struct.rkt"
|
|
"private/array/array-constructors.rkt"
|
|
"private/array/array-pointwise.rkt"
|
|
"private/array/array-indexing.rkt"
|
|
"private/array/array-broadcast.rkt"
|
|
"private/array/array-transform.rkt"
|
|
"private/array/array-convert.rkt"
|
|
"private/array/array-fold.rkt"
|
|
"private/array/array-special-folds.rkt"
|
|
"private/array/array-unfold.rkt"
|
|
"private/array/array-print.rkt"
|
|
"private/array/array-fft.rkt"
|
|
"private/array/array-syntax.rkt"
|
|
"private/array/utils.rkt"
|
|
"private/array/array-comprehension.rkt"
|
|
"private/array/array-sequence.rkt"
|
|
"private/array/mutable-array.rkt"
|
|
"private/array/flarray-struct.rkt"
|
|
"private/array/flarray-pointwise.rkt"
|
|
"private/array/fcarray-struct.rkt"
|
|
"private/array/fcarray-pointwise.rkt"
|
|
"private/array/array-parallel.rkt"
|
|
)
|
|
|
|
;; Set the custom printer to a pretty one
|
|
(array-custom-printer print-array)
|
|
|
|
(provide (all-from-out
|
|
"private/array/array-struct.rkt"
|
|
"private/array/array-constructors.rkt"
|
|
"private/array/array-pointwise.rkt"
|
|
"private/array/array-indexing.rkt"
|
|
"private/array/array-broadcast.rkt"
|
|
"private/array/array-transform.rkt"
|
|
"private/array/array-convert.rkt"
|
|
"private/array/array-fold.rkt"
|
|
"private/array/array-special-folds.rkt"
|
|
"private/array/array-unfold.rkt"
|
|
"private/array/array-print.rkt"
|
|
"private/array/array-syntax.rkt"
|
|
"private/array/array-fft.rkt"
|
|
"private/array/array-comprehension.rkt"
|
|
"private/array/array-sequence.rkt"
|
|
"private/array/mutable-array.rkt"
|
|
"private/array/flarray-struct.rkt"
|
|
"private/array/flarray-pointwise.rkt"
|
|
"private/array/fcarray-struct.rkt"
|
|
"private/array/fcarray-pointwise.rkt"
|
|
"private/array/array-parallel.rkt"
|
|
)
|
|
;; from utils.rkt
|
|
Listof*
|
|
Vectorof*
|
|
Indexes
|
|
In-Indexes)
|