Doug Coleman
4b614cc15b
factor: Make source files/resources 644 instead of 755.
2018-07-13 20:36:50 -05:00
Doug Coleman
4e9d383fe5
docs: Fix help-lint-all mistakes.
2018-07-07 01:13:19 -05:00
Doug Coleman
0e51880199
math.matrices: Add some more matrix norms.
2018-07-04 16:14:44 -05:00
Doug Coleman
9f213f96f6
core: Add the shuffler words but without primitives.
...
The nipd branch slowed bootstrap by a minute, this patch does not.
sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
Cat Stevens
358eb29357
math.functions docs: add logn to "powers and logarithms" article
...
logn function was omitted from the subsections in "powers and logarithms"
2018-06-03 13:42:18 -07:00
John Benediktsson
9b2eac2942
math.functions: one line logn
2018-03-22 15:19:14 -07:00
Cat Stevens
4c96c9343c
basis/math: add logn to math.functions ( fix #1981 )
2018-03-22 15:11:45 -07:00
John Benediktsson
607de53ad3
more test IN: cleanup.
2018-02-25 15:44:16 -08:00
Björn Lindqvist
3b36e969b2
math.statistics: the sample and population mean is the same
...
Afaik, the mean word works both for population data and for
samples. Which is different from standard deviations, where you have
different formulas for population and sample std.
2018-02-24 23:11:22 +01:00
Björn Lindqvist
97d9cee732
math.matrices: rename for consistency
...
Getting the sample cov matrix is actually much more common than getting
the population one.
2018-02-24 23:11:22 +01:00
John Benediktsson
42b37dcc8a
fix some tests broken by previous commit.
2018-02-15 13:16:39 -08:00
John Benediktsson
ca03896d74
more test IN: cleanup.
2018-02-15 09:20:01 -08:00
John Benediktsson
4a144e5ea7
more test IN: cleanup.
2018-02-15 08:45:08 -08:00
John Benediktsson
bd9676e152
core/basis/extra: use none?.
2018-02-14 11:56:31 -08:00
John Benediktsson
ed92cb066b
math.bitwise: add >signed to docs next to >even, >odd.
2018-01-23 15:37:21 -08:00
John Benediktsson
b40ba26bac
basis/extra: removing '[ @ ] in favor of _ for fried quotations.
2018-01-19 23:40:23 -08:00
John Benediktsson
3147593b2c
math.combinatorics: make selections use change-nth-unsafe again.
2018-01-17 14:17:44 -08:00
John Benediktsson
1beaa8f494
math.combinatorics: fix selections bug, geez.
2018-01-17 13:59:22 -08:00
John Benediktsson
9d35cd9048
math.combinatorics: fix selections bug that went missing before previous commit.
2018-01-17 13:55:05 -08:00
John Benediktsson
3bf23d242d
math.combinatorics: speed up selections word.
2018-01-17 10:36:12 -08:00
John Benediktsson
9a4441a80e
math.combinatorics: remove memoize of factorial.
...
If lots of large factorials are computed could use too much memory.
2018-01-16 14:57:17 -08:00
Doug Coleman
9dbfc9351c
math.functions: nan: -> NAN: oops
2017-12-28 00:43:51 -08:00
Doug Coleman
099549940a
math.functions: disable a test.
2017-12-27 22:28:20 -08:00
John Benediktsson
aa5623eede
math: using ``v.`` instead of ``v* sum`` in a few places.
2017-10-24 12:26:39 -07:00
Alexander Iljin
504c9959a1
Update some copyright headers to follow the current convention
...
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
Doug Coleman
27b3c4cccf
functors: FUNCTOR: ;FUNCTOR -> <FUNCTOR: ;FUNCTOR>
...
Functors contain nested definitions, much like <PRIVATE PRIVATE> blocks.
A new parser will be able to parse nested definitions unambigiously without
knowledge of the definition of <FUNCTOR: itself, which is not the case if
it looks like FUNCTOR: instead.
2017-08-05 20:41:19 -05:00
Doug Coleman
0ac181c797
tools.test: Fix unit-test~ and a couple of tests.
2017-07-23 11:50:52 -05:00
Doug Coleman
49b01011c7
math.vectors.simd.intrinsics: Add a comment so I am not tempted to delete this word.
2017-07-23 11:44:01 -05:00
Doug Coleman
62129ffea4
basis: Add unit-test~ and unit-test-v~ for testing floats.
...
Use unit-test~ in math.functions in some places to make sure we like it.
2017-07-22 18:47:59 -05:00
Doug Coleman
01aab7c884
Factor: Rename <enum> to <enumerated> to not confuse with ENUM:s
2017-07-03 12:47:19 -07:00
John Benediktsson
c503659a93
math.functions: fix another test impacted by float truncate change.
2017-06-10 13:33:01 -07:00
John Benediktsson
57de1f5ab0
math.functions: make -0.3 truncate return 0.0 instead of -0.0.
2017-06-08 11:27:48 -07:00
Jon Harper
80e9d7c115
move math.extras:round-to-even to math.functions to use in basis:formatting
...
Also add round-to-odd in case it is needed.
Also change float rounding to be independent of the current rounding mode
2017-06-08 11:23:37 -07:00
Jon Harper
bf852cea6a
add basis.math.functions.integer-logs: exact integer logarithms
2017-06-08 11:22:40 -07:00
Jon Harper
34f36a529e
math.functions, speed up truncate for floats
2017-06-08 11:22:40 -07:00
Jon Harper
c74cfe6c54
math.functions: fix truncate and round to output -0.0 for negative floats near 0
2017-06-08 11:22:40 -07:00
Jon Harper
271c7d9519
math.functions, fix round for ratios between -1/2 and -1
...
it was outputting 1 instead of -1
2017-06-08 11:22:40 -07:00
Alexander Iljin
2ffa446f5b
*-docs: replace double spaces with single spaces
...
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Doug Coleman
195630f637
iota: Fix second iota -> <iota> in line several times.
2017-06-02 15:41:51 -05:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
Doug Coleman
7c7bb93c55
factor: Rename GENERIC# to GENERIC#:.
...
Fixes #1670 .
2017-06-01 13:58:58 -05:00
Alexander Iljin
a6caeb6e80
math.functions-docs: update description of e^
2017-04-07 19:01:33 +03:00
Alexander Iljin
c6208e4677
math.functions[-docs]: rename the output parameters of the power functions
2017-04-07 19:01:24 +03:00
John Benediktsson
119ba84998
math.primes.safe: this looks nicer.
2017-02-08 11:32:34 -08:00
John Benediktsson
b5dd40cc53
math.primes.factors: support command-line args like factor(1).
2017-02-08 11:14:24 -08:00
John Benediktsson
9d2e62f8e1
math.primes.safe: simplify.
2017-02-08 11:14:10 -08:00
John Benediktsson
f4ccfa0f71
sets: moving unique/conjoin/conjoin-at to compiler.utilities.
2017-02-07 18:54:24 -08:00
John Benediktsson
0f9836e73c
math.statistics: fix docs for harmonic-mean.
...
(needs to match prettyprint)
2017-01-20 08:20:41 -08:00
Björn Lindqvist
0701902122
math.statistics: fix calculation of the harmonic mean
2017-01-15 21:27:55 +01:00
John Benediktsson
59ce436dab
math.combinatorics: cleaner next-permutation.
2017-01-02 09:34:15 -08:00