Template Function librapid::operator*(const GenericVector<Scalar, Dims>&, const GenericVector<Scalar, Dims>&)#

Function Documentation#

template<typename Scalar, int64_t Dims>
GenericVector<Scalar, Dims> librapid::operator*(const GenericVector<Scalar, Dims> &lhs, const GenericVector<Scalar, Dims> &rhs)#

Multiply two Vector objects element-by-element and return the result

Template Parameters
  • Scalar – The type of the scalar

  • Dims – The number of dimensions

  • StorageType – The type of the storage

Parameters
  • lhs – The left hand side of the multiplication

  • rhs – The right hand side of the multiplication

Returns

The result of the multiplication