Eli Barzilay
0a0fe1a011
New Racket version 5.3.1.12.
2013-01-01 03:30:13 -05:00
Matthew Flatt
8e8cc301e4
fix dist spec
2012-12-31 17:29:45 -07:00
Neil Toronto
c8e3b45e38
Added QR decomposition tests (mostly a pretty thorough randomized test);
...
fixed error in `matrix-cols-orthogonal?' revealed by testing
2012-12-31 15:20:25 -07:00
Neil Toronto
f5fa93572d
Moar `math/matrix' review/refactoring
...
* Gram-Schmidt using vector type
* QR decomposition
* Operator 1-norm and maximum norm; stub for 2-norm and angle between
subspaces (`matrix-basis-angle')
* `matrix-absolute-error' and `matrix-relative-error'; also predicates
based on them, such as `matrix-identity?'
* Lots of shuffling code about
* Types that can have contracts, and an exhaustive test to make sure
every value exported by `math/matrix' has a contract when used in
untyped code
* Some more tests (still needs some)
2012-12-31 14:17:17 -07:00
Neil Toronto
e06f31c94e
More precise return type for `magnitude' (it always returns nonnegative)
2012-12-31 14:17:17 -07:00
Matthew Flatt
cdfc4912ad
racket/base: add exn:fail:filesystem:errno and exn:fail:network:errno
...
Provide raw error codes when available, which is mostly from filesystem
and networking primitives.
2012-12-31 12:04:03 -07:00
Matthew Flatt
dc9643aef6
fix typo in error message
2012-12-31 12:04:03 -07:00
Matthew Flatt
ba973a317f
add `configure' test for mmap() and mprotect()
...
Use the test to enable execute permission on memory that is allocated
for code, including FFI callbacks.
2012-12-31 12:04:03 -07:00
Robby Findler
a948f1b40d
fix commit c818eb3ca3
...
related to PR 13394
2012-12-31 11:52:36 -06:00
Robby Findler
2a83c2147c
add some color to the image guide's fractals
...
and use local instead of internal define to
be more HtDP friendly
2012-12-31 11:42:33 -06:00
Robby Findler
8f300b9e73
add rotary dial to the image guide
2012-12-31 10:29:28 -06:00
Sam Tobin-Hochstadt
0d01db8543
Fix type of log-message
.
2012-12-30 22:14:44 -05:00
Robby Findler
9b6272674e
tweak the latex rendering of ╔ and company
2012-12-30 21:11:38 -06:00
Matthew Flatt
7cb7beae27
fix non-JIT build
...
Fix a reference to a function that is only available when the JIT is
enabled.
2012-12-30 20:30:33 -06:00
Matthew Flatt
8b7379a7ad
docs: clarification for `immutable?'
2012-12-30 20:30:20 -06:00
Matthias Felleisen
ede0e3c625
at JPR's request: modified memq to return boolean and added memq? to teaching languages
...
the symmetry to member/member? suggested he is correct
2012-12-30 14:38:32 -05:00
Matthew Flatt
05ce8bce80
win32: fix MinGW vs. MSVC build problem
2012-12-30 05:41:24 -07:00
Asumu Takikawa
4041e3c841
Fix sandbox doc example
2012-12-30 01:55:44 -05:00
Robby Findler
c818eb3ca3
Fix the new lexer interaction when some of the lexer states were
...
finished, but not all. Don't re-do them the next time around
closes PR 13394
2012-12-29 23:56:38 -06:00
Robby Findler
022e252f45
add support for ╔ ═ ╗ ║ ╚ and ╝ to the latex renderer
...
Also, Rackety
2012-12-29 11:31:17 -06:00
Mike Sperber
99301c15ff
Synch German string constants with latest.
2012-12-29 15:16:30 +01:00
Matthew Flatt
93affa4d5d
fix a build dependency in --enable-shared mode
...
Closes PR 13392
2012-12-28 12:22:32 -07:00
Matthew Flatt
0a708b040a
setup/link: fix collection-root results for version regexps
2012-12-28 11:57:34 -07:00
Matthew Flatt
480ae5e262
doc repair
2012-12-28 12:53:48 -06:00
Matthew Flatt
03259ef539
MinGW-w64 support
...
For now, SGC must be used, but `configure' does not select it
automatically.
Also, support Cygwin (in addition to MSYS) as a build environment
when using MinGW compilers. Since I build in a Cygwin environment
(which seemed to be the easiest way to get MinGW-w64 gcc), I use
../configure --host=x86_64-w64-mingw32 --enable-sgc
2012-12-28 11:06:46 -06:00
Robby Findler
7b9879c0e6
some edits to nitty-gritty section and fix up the koch curve names
...
(and actually draw the snowflake)
2012-12-28 10:53:10 -06:00
Matthias Felleisen
e212c1c279
a few more definitions to avoid re-typing for BSLers
2012-12-28 10:47:36 -05:00
Matthias Felleisen
dc7df5b9f1
choose decent variable names, until Robby says 'use new evaluator'
2012-12-28 10:40:35 -05:00
Matthias Felleisen
c2c2a1b485
make first interaction more BSL-ish, take 2
2012-12-28 10:01:23 -05:00
Matthias Felleisen
7a6054e2ba
make first interaction more BSL-ish
2012-12-28 10:00:21 -05:00
Robby Findler
6ff9910874
add a little bit to the image guide
2012-12-28 08:54:35 -06:00
Robby Findler
5f838f8ff5
add more agressive notes with pointers to the nitty gritty section
2012-12-28 08:54:35 -06:00
Eli Barzilay
b9a7f0ef62
New Racket version 5.3.1.11.
2012-12-28 03:35:13 -05:00
Neil Toronto
7ac8e1bbce
Slightly more `math/matrix'
...
* Moved to-do list in "matrix-operations.rkt" to the wiki
* Added more mutating vector ops
* Added "matrix-basis.rkt" (unfinished)
2012-12-27 17:30:04 -07:00
Neil Toronto
e55a31480e
Precise flonum tests (error usually must be <= 0.5 ulp), and prerequisite
...
additions/changes
* More accurate `flulp-error'
* Added `flonum->fields', `fields->flonum', `flonum->sig+exp',
`sig+exp->flonum' (currently undocumented)
* Correctly rounded, robust `bigfloat->fl2' and `fl2'
* Correctly rounded, robust `fl+/error', `fl-/error', `fl*/error',
`flsqr/error', `fl//error'
* Much faster but slightly less accurate fl2 ops (shamelessly stolen from
crlibm, which is LGPL)
* Added `fl2ulp', `fl2ulp-error', `fl2?' (which detects overlap),
`+max-fl2-subnormal.0' (which was tricky), `fl2abs'
* Added deterministic and randomized flonum op tests (against MPFR)
* Added deterministic and randomized flonum/error op tests (against MPFR)
* Added deterministic and randomized fl2 op tests (against MPFR)
* Exposed FPU tests in `math/utils' (currently undocumented)
2012-12-27 17:30:04 -07:00
Neil Toronto
fc02d40a66
Faster LU decomposition
2012-12-27 17:30:03 -07:00
Matthias Felleisen
01bb5c400a
added a potentially useful macro
2012-12-27 19:01:34 -05:00
Matthias Felleisen
6243a928fb
space management for figures
2012-12-27 19:01:34 -05:00
Matthias Felleisen
4833f9d839
added a function for parsing contest files more easily, fix doc typo
2012-12-27 19:01:34 -05:00
Matthias Felleisen
602a5a38f3
added a function for parsing contest files more easily, plus data
2012-12-27 19:01:34 -05:00
Matthias Felleisen
cdcbdfaf8c
added a function for parsing contest files more easily
2012-12-27 19:01:33 -05:00
Matthias Felleisen
a15ae19d46
warn programmers that the key event specification is incomplete; Closes PR13168
2012-12-27 19:01:33 -05:00
Matthias Felleisen
1ad88436ff
documenting the folder
2012-12-27 19:01:33 -05:00
Matthew Flatt
f2d870859a
logging: allow name in `log-message', report it in a log-receiver evt
...
The synchronization result of a log receiver is now a vector of four
values, instead of three, where the last one reports the name.
Also, an optional argument to `make-logger' provides a notification
callback for each event sent to the logger.
These changes enable more control over loggers and events. Suppose
that you have processes A and B, and you want all log events of A
to be visible to B, but not vice-versa. Furthermore, you want the
log events to appear at B in the right order: if A logs an event
before B, then A's event should arrive at a log receiver's before
B's. Now that a log receiver gets the name associated with the
original event, and now that the name can be re-sent in a
`log-receiver', it's possible to give A and B separate loggers and
send all of the events from A's logger to B's logger. Furthermore,
you can use the notification callback so that when an event is logged
in B, you can make sure that all available events from from A's
logger have been transferred to B's logger.
2012-12-27 14:12:40 -06:00
Matthew Flatt
a39004241e
fix dist spec
2012-12-27 14:12:40 -06:00
Matthew Flatt
3f6b30a569
scibble: repair related to recent `scribble/tag' contracts
2012-12-27 12:49:30 -06:00
Robby Findler
353da62843
added make-module-language-tag and use it and make-section-tag
...
in a few places
2012-12-27 11:10:40 -06:00
Robby Findler
a412ab8411
add a basic test of the logger GUI
2012-12-27 10:23:48 -06:00
Matthew Flatt
ca3b712871
minor doc edits
...
consistent capitalization of section titles
2012-12-27 09:24:15 -06:00
Matthew Flatt
2d12431c0d
move and fixup docs for the "help" collection
2012-12-27 09:24:15 -06:00