Structs§
Functions§
- common_
difference - Returns the common difference between two terms of an arithmetic progression
- common_
difference_ and_ first_ term - Returns the common difference and the first term, as a tuple (common_difference, first_term)
- first_
term - Returns the first term of an arithmetic progression
- how_
many_ terms - Returns the number of terms in an AP
- insert_
arithmetic_ means - Returns an arithmetic progression with the first term + arithmetic means + nth_term, as a vector
- nth_
term - Returns the nth term of an arithmetic progression