racket/collects/math/private/array/array-transform.rkt
Neil Toronto f2dc2027f6 Initial math library commit. The history for these changes is preserved
in the original GitHub fork:

  https://github.com/ntoronto/racket

Some things about this are known to be broken (most egregious is that the
array tests DO NOT RUN because of a problem in typed/rackunit), about half
has no coverage in the tests, and half has no documentation. Fixes and
docs are coming. This is committed now to allow others to find errors and
inconsistency in the things that appear to be working, and to give the
author a (rather incomplete) sense of closure.
2012-11-16 11:39:51 -07:00

25 lines
743 B
Racket

#lang racket/base
(require typed/untyped-utils
(except-in "typed-array-transform.rkt"
array-transform
array-reshape))
(require/untyped-contract
(begin (require "array-struct.rkt"
"utils.rkt"))
"typed-array-transform.rkt"
[array-transform (All (A) ((Array A) (Vectorof Integer) (Indexes -> (Vectorof Integer))
-> (Array A)))]
[array-reshape (All (A) ((Array A) (Vectorof Integer) -> (Array A)))])
(provide array-transform
unsafe-array-transform
array-axis-permute
array-axis-swap
array-axis-insert
array-axis-ref
array-reshape
array-flatten
array-append*)