Skip to main content

encode

Function encode 

Source
pub fn encode(bases: &[i64], values: &[i64]) -> Option<Vec<i64>>
Expand description

The digits of each of values in the mixed radix of bases, as APL’s ⊤ gives them: each value’s digits together, the most significant first. A base of 0 takes all of what remains as its digit. None where a digit isn’t an i64.