UtilitaryΒΆ

Here, the utilitary functions definitions and usage.

cmatrix.abs

Get the absolute value of the given argument.

cmatrix.complement

Return the x complement in the given base (generic algorithm).

cmatrix.complement_at

Utility function computing the complement from x and base.

cmatrix.isalpha

Test if the given arguments is alphanum.

cmatrix.mirror

Local util mirror constructor to Pascal triangle generator.

cmatrix.Pascal_triangle

Pascal triangle generator of dimension dim.

cmatrix.reverse

I think comments are not necessary for this function.

cmatrix.swap

Swap a and b as double values.

cmatrix.switch

Redefined C-like switch.

cmatrix.timeit

Time a function using @timeit syntax.

cmatrix.tri