MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / dot3

Function dot3

examples/pde/bhrt.cpp:123–125  ·  view source on GitHub ↗

* @brief Returns the euclidean dot product for two cartesian vectors with 3 * coords * * @param lhs * @param rhs * @return af::array */

Source from the content-addressed store, hash-verified

121 * @return af::array
122 */
123af::array dot3(const af::array& lhs, const af::array& rhs) {
124 return af::sum(lhs * rhs, 0);
125}
126
127/**
128 * @brief Returns the euclidean norm for a cartesian vector with 3 coords

Callers 2

norm3Function · 0.85
intersectMethod · 0.85

Calls 1

sumFunction · 0.50

Tested by

no test coverage detected