Structs§
Functions§
- Returns the common difference between two terms of an arithmetic progression
- Returns the common difference and the first term, as a tuple (common_difference, first_term)
- Returns the first term of an arithmetic progression
- Returns the number of terms in an AP
- Returns an arithmetic progression with the first term + arithmetic means + nth_term, as a vector
- Returns the nth term of an arithmetic progression