Numeric¶
The numeric module provides methods that are lacking from the numpy module.
-
nutils.numeric.
dot
(A, B, axis=-1)[source]¶ Transform axis of A by contraction with first axis of B and inserting remaining axes. Note: with default axis=-1 this leads to multiplication of vectors and matrices following linear algebra conventions.
-
nutils.numeric.
diagonalize
(arg, axis=-1, newaxis=-1)[source]¶ insert newaxis, place axis on diagonal of axis and newaxis
-
nutils.numeric.
ix
(args)[source]¶ version of
numpy.ix_()
that allows for scalars