Template Function librapid::pow(const SIMDVector<Scalar, Dims>&, const SIMDVector<Scalar, Dims>&)#
Defined in File simdVector.hpp
Function Documentation#
-
template<typename Scalar, int64_t Dims>
SIMDVector<Scalar, Dims> librapid::pow(const SIMDVector<Scalar, Dims> &vec, const SIMDVector<Scalar, Dims> &exp)# Raise each element of a vector to the power of another vector and return the result
- Template Parameters
Scalar – The scalar type of the vector
Dims – The dimensionality of the vector
- Parameters
vec – Base vector
exp – Vector of exponents
- Returns
The result of raising each element of the vector to the power of the corresponding element of the exponent vector