From 88c44ec89f23df7e1666d0aca1696779f12f0a61 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Fri, 1 Jan 2021 12:42:06 +0100 Subject: More images. --- docs/array.jpg | Bin 0 -> 55504 bytes docs/carray_api.md | 1 + docs/clist_api.md | 2 +- docs/cset_api.md | 1 + docs/set.jpg | Bin 0 -> 19883 bytes docs/vector.jpg | Bin 55504 -> 49819 bytes 6 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 docs/array.jpg create mode 100644 docs/set.jpg diff --git a/docs/array.jpg b/docs/array.jpg new file mode 100644 index 00000000..4aede261 Binary files /dev/null and b/docs/array.jpg differ diff --git a/docs/carray_api.md b/docs/carray_api.md index 1e03bf08..c5d9589c 100644 --- a/docs/carray_api.md +++ b/docs/carray_api.md @@ -1,3 +1,4 @@ +![Array](array.jpg) # Container [carray](../stc/carray.h): Dynamic 1/2/3 Dimensional Array This is 1D, 2D and 3D arrays, which are allocated from heap in one single contiguous block of memory. diff --git a/docs/clist_api.md b/docs/clist_api.md index 4d84133c..b49e164c 100644 --- a/docs/clist_api.md +++ b/docs/clist_api.md @@ -2,7 +2,7 @@ # Container [clist](../stc/clist.h): Forward List This is similar to c++ [std::forward_list](https://en.cppreference.com/w/cpp/container/forward_list), but supports both -*push_front()* and *push_back()* as well as *pop_front()* in **O**(*1*) time. Implemented as a circular singly linked list. +*push_front()* and *push_back()* as well as *pop_front()* in **O**(1) time. Implemented as a circular singly linked list. Also supports various *splice* functions and *merge-sort*. Note that like std::forward_list, the representation size of **clist** is only one pointer, and length of the list is not stored. The method *clist_X_size()* is therefore computed in **O**(*n*) time. diff --git a/docs/cset_api.md b/docs/cset_api.md index 999edd4c..66e8184c 100644 --- a/docs/cset_api.md +++ b/docs/cset_api.md @@ -1,3 +1,4 @@ +![Set](set.jpg) # Container [cset](../stc/cmap.h): Unordered Set This describes the API of the unordered set type **cset**. Same base implementation as cmap, but contains and uses keys only. diff --git a/docs/set.jpg b/docs/set.jpg new file mode 100644 index 00000000..74ac925a Binary files /dev/null and b/docs/set.jpg differ diff --git a/docs/vector.jpg b/docs/vector.jpg index 4aede261..125e8504 100644 Binary files a/docs/vector.jpg and b/docs/vector.jpg differ -- cgit v1.2.3