Template Function librapid::operator+(const SIMDVector<Scalar, Dims>&, const S&)#

Function Documentation#

template<typename Scalar, int64_t Dims, typename S>
SIMDVector<Scalar, Dims> librapid::operator+(const SIMDVector<Scalar, Dims> &lhs, const S &rhs)#

Add a scalar to a Vector object and return the result

Template Parameters
  • Scalar – The type of the scalar

  • Dims – The number of dimensions

  • S – The type of the scalar

Parameters
  • lhs – The left hand side of the addition

  • rhs – The right hand side of the addition

Returns

The result of the addition