Handy building blocks for C: containers, algorithms, evolutionary framework, ...
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
include
src
.gitignore
LICENSE
Makefile
README.md

README.md

        _____ ______  _______ _     _ ______  _______
 |        |   |_____] |       |     | |_____] |______
 |_____ __|__ |_____] |_____  |_____| |_____] |______

Language

libcube — handy building cubes for C.

The code style adheres to "The C Language Style for Scalability (CLASS)".

Modules

arrayset

Set with a built-in hash table, implemented with array.

hash

Hash table, or dictionary.

listu

List container of usigned integers implemented with array.

listx

Generic double-linked list container.

matrixd / matrixu

Double / size_t type dense matrix. You set and get, it resize silently.

queue

Simple queue container, implemented with double-linked list.

rng

Random number generator. A wrapper of PCG RNGs.

timer

Timer.

arrayi

Extension of int type array.

arrayu

Extension of size_t type array.

date_ext

Extension of date type.

numeric_ext

Extension of numeric type.

string_ext

Extension of string type.

evol

An evolutionary algorithm framework.

Build and install

git clone https://github.com/herrkaefer/libcube.git
cd libcube
make
make install

License

Mozilla Public License Version 2.0