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

Function normalize3

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

* @brief Returns the normalized vector for a cartesian vector with 3 coords * * @param vector * @return af::array */

Source from the content-addressed store, hash-verified

141 * @return af::array
142 */
143af::array normalize3(const af::array& vector) { return vector / norm3(vector); }
144
145af::exception make_error(const char* string) {
146 std::cout << string << std::endl;

Callers 2

CameraMethod · 0.85

Calls 1

norm3Function · 0.85

Tested by

no test coverage detected