babelLib is header file library, which have a lot of different function like algorithm/math etc.
babelLib is on Open-source license
To include this library to your project, only what you need to do to copy:
babel.hpp
babLib
to your project and put #include "babel.hpp"
in your program.
All babel function/namespaces are in namespace babel
List of namespaces babel::
:
VERSION
- Actual version of babelLibCONCEPTS
- All concepts I use in this library.ALGO
-CRYPT
encryptionSHA256
,SHA1
,SHA224
STRING
string operation like:str_to_upper/lower
VECTOR
Container operator like:sum
,normalize
,mean
MATH
Math function like:FFT
,distance
, constant value (e
,pi
)CAST
Function like:string_to
,asType
TIME
- Function or class to measure time like:timer
,measure_time
ANY
- ClassPolAny
andVoidAny
. They are very similar to std::any.CHAR
- ClassASCII_CHAR
it jus wrapped char with function like:is_alphabetical
,is_lower
etc.CONTAINER
- My implementation ofstd::list
andstd::vector
, I don't use them, because std container are better.FILE_SYS
- Function to operate on files like:scan_folder
,load_txt
etc.GRAPHICS
- Two classRGB
andCMYK
and convert between them. A very early version of these functions.MATH
- Mathematical function like:factorial
,distance
,lcm
etc. (NowMATH
is in namespaceALGO
)MATRIX
- VERY underdeveloped matrix operations.OPT
- My implementation ofstd::optional
REQ
- It is astd::queue
of lambda functions, which are queued and called when you want to do it.TEXT
- Class to improvement searching in bigstd::string
, but it takes a lot more memory.VARIADIC
- My implementation ofstd::variant
.WINDOWS
- Available only in Windows, simple windows function (like resolution of screen, search available discs)WRAPER
- Classwrap
, nothing special just wrap dataT
SYSTEM
- Simple system function like number of threads etc.ITERATOR
- Iterator like enumerate, range
Every (almost) function have description, and some example of use.
I'm working on put this description in one documents file.