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

Function Documentation#

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

Add two Vector objects together and return the result

Template Parameters
  • Scalar – The type of the scalar

  • Dims – The number of dimensions

Parameters
  • lhs – The left hand side of the addition

  • rhs – The right hand side of the addition

Returns

The result of the addition