P-Adic numbers, basic: Difference between revisions

m
Corrected a mistake in a comment.
(New post.)
m (Corrected a mistake in a comment.)
Line 224:
private:
/**
* Create a p-adic, with p = 'prime', directly from a vector of digits.
*
* With aOrder'order' = 0, the vector [1, 2, 3, 4, 5] creates the p-adic ...54321.0
* aOrder'order' > 0 shifts the vector 'aOrderorder' places to the left and
* aOrder'order' < 0 shifts the vector 'aOrderorder' places to the right.
*/
p_adic(uint32_t prime, std::vector<uint32_t> digits, int32_t order)
875

edits