SiconosVectorFriends (functions)


siconos.kernel.abs_wise(array_like (np.float64, 1D) V, array_like (np.float64, 1D) Vabs) → None[source]

get an absolute vector

Parameters:
  • V – a SiconosVector (Input).
  • Vabs – a SiconosVector (Output)

siconos.kernel.getMax(array_like (np.float64, 1D), double, int) → None[source]

get maximal element of a vector

Parameters:
  • 1a – SiconosVector (Input).
  • 2a – double variable giving the maximum element (Output).
  • 3an – unsigned int variable giving the position of the maximum element (Output)

siconos.kernel.getMin(array_like (np.float64, 1D), double, int) → None[source]

get minimum element of a vector

Parameters:
  • 1a – SiconosVector (Input).
  • 2a – double variable giving the minimum element (Output).
  • 3an – unsigned int variable giving the position of the minimum element (Output)