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

Function Documentation#

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

Divide a scalar by a Vector object and return the result

Template Parameters
  • S – The type of the scalar

  • Scalar – The scalar type of the Vector

  • Dims – The number of dimensions

  • StorageType – The type of the storage

Parameters
  • lhs – The left hand side of the division

  • rhs – The right hand side of the division

Returns

The result of the division