My array

Module docstring gives an overview of the module functionality and its purpose.

apidoctestbench.myarray.multiplication_table(zero_out_multiples=None)

Creates a multiplication table. Returns a two-dimensional NumPy array that contains the multiplication table from 1 to 12.

Parameters

zero_out_multiples (int, optional) – When this parameter is set to an integer number, then the multiplication table that is returned by the function will have all multiples of the given number set to zero. The default value of this parameter is None.

Returns

array – A two-dimensional NumPy array that contains the multiplication table from 1 to 12 with the multiples of zero_out_multiples paramaters passed as argument set to zero.

Return type

ndarray

apidoctestbench.myarray.subtract(a: int, b: int) int

Subtracts two numbers

Parameters
  • a (integer) –

  • b (integer) –

Returns

difference

Return type

integrer