Arithmetic Functions

Arithmetic functions perform the basic mathematical operations like addition, subtraction, multiplication or computation of the absolute value of the vector elements.

  • add Performs element by element addition of vector a and vector b.

  • sub Performs element by element subtraction of vector b from vector a.

  • sqr Performs element by element squaring of the vector.

  • mul Performs element by element multiplication of vector a and vector b.

  • mulbyconj Performs element by element multiplication of vector a element and conjugated vector b element.

  • conj Performs element by element conjugation of the vector.

  • abs Computes absolute value of vector elements.

  • arg Computes argument of vector elements.

  • linearfrac Performs linear fraction transformation of vectors a and b with scalar parameters.

  • fmod The fmod function performs element by element computation of the modulus function of vector a with respect to vector b.

  • remainder Performs element by element computation of the remainder function on the elements of vector a and the corresponding elements of vector b.