summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-01-01 12:42:06 +0100
committerTyge Løvset <[email protected]>2021-01-01 12:42:06 +0100
commit88c44ec89f23df7e1666d0aca1696779f12f0a61 (patch)
treeb8b6de0c5748c0fdb2f5986731ef0da8aff011e4 /docs
parentcab81683548b618edc63f398f7640ce7322363cf (diff)
downloadSTC-modified-88c44ec89f23df7e1666d0aca1696779f12f0a61.tar.gz
STC-modified-88c44ec89f23df7e1666d0aca1696779f12f0a61.zip
More images.
Diffstat (limited to 'docs')
-rw-r--r--docs/array.jpgbin0 -> 55504 bytes
-rw-r--r--docs/carray_api.md1
-rw-r--r--docs/clist_api.md2
-rw-r--r--docs/cset_api.md1
-rw-r--r--docs/set.jpgbin0 -> 19883 bytes
-rw-r--r--docs/vector.jpgbin55504 -> 49819 bytes
6 files changed, 3 insertions, 1 deletions
diff --git a/docs/array.jpg b/docs/array.jpg
new file mode 100644
index 00000000..4aede261
--- /dev/null
+++ b/docs/array.jpg
Binary files 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
--- /dev/null
+++ b/docs/set.jpg
Binary files differ
diff --git a/docs/vector.jpg b/docs/vector.jpg
index 4aede261..125e8504 100644
--- a/docs/vector.jpg
+++ b/docs/vector.jpg
Binary files differ