Template Function librapid::operator-(const S&, const SIMDVector<Scalar, Dims>&)#
Defined in File simdVector.hpp
Function Documentation#
-
template<typename S, typename Scalar, int64_t Dims>
SIMDVector<Scalar, Dims> librapid::operator-(const S &lhs, const SIMDVector<Scalar, Dims> &rhs)# Subtract a Vector object from a scalar and return the result
- Template Parameters
S – The type of the scalar
Scalar – The scalar type of the Vector
Dims – The number of dimensions
- Parameters
lhs – The left hand side of the subtraction
rhs – The right hand side of the subtraction
- Returns
The result of the subtraction