summaryrefslogtreecommitdiffhomepage
path: root/examples/ex_gaussian.c
AgeCommit message (Collapse)Author
2021-01-17Fixed value offset bug. Added gauss example with csmap.Tyge Løvset
2021-01-04Removed cmap_X_entry_t alias for cmap_X_value_t.Tyge Løvset
2020-12-30API change: Swapped destroy <-> compare function args in using_*() macros ↵Tyge Løvset
for cvec, cdeq, cptr and clist.
2020-12-28Reverted crand.h API back to rename crand_* to stc64_*, and crand_next() -> ↵Tyge Løvset
stc64_rand().
2020-12-17API change: Reverted back to original name used for .val in iterators to .refTyge Løvset
2020-12-16Renamed crandom to crand, including renaming of relevant files.Tyge Løvset
2020-12-16Reverted back API to easier naming scheme of crandom.h types and methods.Tyge Løvset
Highly optimized generation of unbiased uniform bounded random numbers. Only 33% overhead.
2020-12-14Reworked the crandom.h module. Changed API (sorry!), made uniform distr. ↵Tyge Løvset
unbiased. Removed 32-bit pcg32 PRNG.
2020-12-02Added carray docs.Tyge Løvset
2020-12-02Added better crandom and cvec example.Tyge Løvset
2020-12-01More docs update.Tyge Løvset
2020-11-26Removed stc/cfmt.h, as _Generic requires C11. I have made it a gist: ↵Tyge Løvset
https://gist.github.com/tylov/bcc956a4779f1d14204e66a14f17beb9 All examples are reverted to use printf() instead of c_print().
2020-10-26Updates examples using cfmt.h c_print().Tyge Løvset
2020-10-17Internal renaming of STC_IMP to STC_DEF. Removed cstr_INIT. Use cstr_init().Tyge Løvset
2020-09-24Changed iter.get to iter.val member. Internal, but used external. Will not ↵Tyge Løvset
change again.
2020-09-18Changed <container>_ini macro constant to <container>_INIT, and ↵Tyge Løvset
<container>_destroy() to <container>_del.
2020-09-17Fixed range methods in cvec, and renamed typename_<container>(..) to ↵Tyge Løvset
using_<container>(..).
2020-09-16Changed earlier declare_<container>(..) macro to typedef_<container>(..)Tyge Løvset
2020-09-16Changed API to conform with std:: containers. cmap now only use first, ↵Tyge Løvset
second. for result and value types.
2020-09-15Simplified declare_ statement e.g. c_cmap(...)Tyge Løvset
2020-09-15New API Change.Tyge Løvset
2020-09-14Renamed result_t type members to first, second (from item, inserted) for ↵Tyge Løvset
conformance with std::pair
2020-09-14Removed warnings. clang, vs.Tyge Løvset
2020-09-13reverted back to separate random engine and distribution parameters.Tyge Løvset
2020-09-10Use cmap_emplace() rather than cmap_insert(). insert() is reduced to an ↵Tyge Løvset
alias of emplace() because it makes no sense using the std::unordered_map API.
2020-09-07Added back cmap insert()tylo
2020-09-06Renamed push_****(), _insert() to _emplace(). added insert_or_assign(), etc.Tyge Løvset
2020-09-03Changed constant <container>_init to <container>_ini to avoid conflict with ↵Tyge Løvset
<container>_init() method. Reverted name cprique back to cpqueue.
2020-09-02Rewrote cpqueue to a real adapter class. Added some missing functions in ↵Tyge Løvset
cvec, clist, cmap. Added c_init() and c_destroy() generic algoritms on containers.
2020-09-01Added back splice_front()/back(), updated ex_gaussian.cTyge Løvset
2020-08-31Added example gaussian. Some cleanup.Tyge Løvset