😱Mathematical operations
maTH library started as a library of mathematical operations made from scratch. Here's a list of all operations the library supports:
Function
Description
Source
int combinations(int n, int k)
How many unique combinations are there with a population of n, whilst selecting k items.
int combinationsWithRep(int n, int k)
How many combinations are there with a population of n, whilst selecting k items (items have repetition).
If the argument data type is defined, eg. int round(x), it means x can be whatever data type. func_name<return_type> specifies, that you can specifically say, in which data type you want your result to be in.
Last updated