Commit Graph

298 Commits

Author SHA1 Message Date
Howard Hinnant
5430540d57 [rand.dist.samp.plinear]. This means we've got a fully tested and functional <random>! 489 tests over 48 sections are passing. :-) The only thing still on my plate in this area is to back-port some of this technology to random_shuffle/shuffle in <algorithm>. That will involve shuffling header bits around (<random> depepends on <algorithm>), but it won't entail that much development (compared to what has been required for <random>).
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104575 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-25 00:27:34 +00:00
Howard Hinnant
fff534ee48 sync with working paper
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104542 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-24 19:09:54 +00:00
Howard Hinnant
adff4895b2 patch by Jeffrey Yasskin for porting to Ubuntu Hardy. Everything was accepted except there were some bug fixes needed in <locale> for the __nolocale_* series. For the apple branch I ended up using templates instead of the var_args solution because it seemed both safer and more efficient.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104516 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-24 17:49:41 +00:00
Howard Hinnant
2a59254a44 Optimized [rand.dist.samp.pconst] and several bug fixes in other distributions
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104478 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-24 00:35:40 +00:00
Howard Hinnant
daf0ff111f weekly test results
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104266 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-20 19:58:15 +00:00
Howard Hinnant
d6d1171f2c [rand.dist.samp.pconst] plus some bug fixes in the tests of the other distributions
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104224 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-20 15:11:46 +00:00
Howard Hinnant
551d8e4ddb [rand.dist.samp.discrete]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104103 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-19 01:53:57 +00:00
Nick Kledzik
76fdaa7c70 Add set_new_handler and nothrow implementations
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104073 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-18 22:17:13 +00:00
Howard Hinnant
321b4bb7ae [rand.dist.norm.t]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104052 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-18 20:08:04 +00:00
Howard Hinnant
d8bc09b616 [rand.dist.norm.f]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104035 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-18 17:32:30 +00:00
Howard Hinnant
ed9b2aa21d Better cauchy tests
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104008 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-18 00:34:49 +00:00
Howard Hinnant
72215c2dbf more :: to _
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104006 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-18 00:09:37 +00:00
Howard Hinnant
0873a52ca8 more :: to _
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104005 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-18 00:06:09 +00:00
Howard Hinnant
d7d0113295 [rand.dist.norm.cauchy]. I'm having trouble testing the output as all statistical properties are undefined. They do not converge upon any one value as the number of samples increases. Suggestions for tests welcome.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103983 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-17 21:55:46 +00:00
Howard Hinnant
d90b0a41a8 Got rid of more :: path names
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103970 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-17 20:38:02 +00:00
Howard Hinnant
2bc36fcff3 [rand.dist.norm.lognormal]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103957 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-17 18:31:53 +00:00
Howard Hinnant
c2b0dc7e33 [rand.dist.pois.extreme]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103942 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-17 16:21:56 +00:00
Howard Hinnant
34e8a57b76 [rand.dist.bern.geo]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103937 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-17 13:44:27 +00:00
Howard Hinnant
f2fe5d5a61 [rand.dist.bern.negbin]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103916 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-17 00:09:38 +00:00
Howard Hinnant
df40dc6c1a Beefed up the tests for all of the distributions to include checks against the expected skewness and kurtosis
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103910 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-16 17:56:20 +00:00
Howard Hinnant
9cb70437e2 Replaced :: with _ in several path names
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103907 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-16 12:46:02 +00:00
Howard Hinnant
4bd6cc9f30 Replaced :: with _ in several path names
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103906 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-16 12:42:38 +00:00
Howard Hinnant
9de6e30761 [rand.dist.pois.weibull]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103891 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-16 01:09:02 +00:00
Howard Hinnant
97dc2f35c3 [rand.dist.norm.chisq]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103888 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-15 23:36:00 +00:00
Howard Hinnant
6add8ddfef Revisited [rand.dist.bern.bin] and [rand.dist.pois.poisson] with better algorithms
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103886 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-15 21:36:23 +00:00
Howard Hinnant
4ff556cf62 [rand.dist.pois.poisson]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103814 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-14 21:38:54 +00:00
Nick Kledzik
56b373c97e fix strip options and properly copy include/ext
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103796 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-14 20:22:09 +00:00
Nick Kledzik
804b6e73d4 add headers and implementation for <new>, <exception>, and <typeinfo>
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103795 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-14 20:19:37 +00:00
Nick Kledzik
b75862d1a1 change test case to verify unexpected() calls terminate - not is terminate
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103794 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-14 20:17:42 +00:00
Howard Hinnant
f417abe683 [rand.dist.pois.gamma]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103788 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-14 18:43:10 +00:00
Howard Hinnant
d0e811a37d weekly test results
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103732 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-13 20:10:39 +00:00
Howard Hinnant
c7c4913b46 partial [rand.dist.pois.gamma]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103722 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-13 17:58:28 +00:00
Chris Lattner
bfa808e093 wording.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103658 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-12 22:34:21 +00:00
Chris Lattner
f338249228 wording
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103657 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-12 22:33:00 +00:00
Chris Lattner
a5058d9a0d tweak from cjefferson
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103656 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-12 22:30:22 +00:00
Chris Lattner
24173b81dd improve the 'current status' section to say what *is* there in
addition to what is not.

Add a big "why libc++" section to address a pretty major FAQ.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103655 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-12 22:21:15 +00:00
Howard Hinnant
a64111c95a [rand.dist.norm.normal]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103646 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-12 21:02:31 +00:00
Howard Hinnant
30a840f5f0 [rand.dist.pois.exp]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103621 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-12 17:08:57 +00:00
Howard Hinnant
5f9b133e2c tests for [rand.dist.bern.bin]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103612 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-12 13:33:11 +00:00
Howard Hinnant
9e52d5ab2b Pruned test results to just the past 6 months
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103611 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-12 13:31:10 +00:00
Howard Hinnant
03aad81afd [rand.dist.bern.bin]. The evaluation function for this binomial distribution is hopefully just a placeholder. It is using the simplest and slowest method for computing the distribution and needs to be upgraded.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103524 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-11 23:26:59 +00:00
Howard Hinnant
f5256e16df Wiped out some non-ascii characters that snuck into the copyright.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103516 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-11 21:36:01 +00:00
Chris Lattner
a535ffd99d fix more links
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103511 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-11 20:53:16 +00:00
Howard Hinnant
76e1ffc603 Fixed svn link
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103510 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-11 20:51:20 +00:00
Chris Lattner
4b748953a2 cxx not cpp
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103501 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-11 20:37:52 +00:00
Chris Lattner
58971966d3 add css files, also, test commit.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103498 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-11 20:29:17 +00:00
Howard Hinnant
8c21737c03 updated web page with clang mailing list link
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103491 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-11 19:53:34 +00:00
Howard Hinnant
bc8d3f97eb libcxx initial import
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103490 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-11 19:42:16 +00:00