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

Method cos

extern/half/include/half.hpp:1488–1488  ·  view source on GitHub ↗

Cosine implementation. \param arg function argument \return function value stored in single-preicision

Source from the content-addressed store, hash-verified

1486 /// \param arg function argument
1487 /// \return function value stored in single-preicision
1488 static expr cos(float arg) { return expr(std::cos(arg)); }
1489
1490 /// Tan implementation.
1491 /// \param arg function argument

Callers

nothing calls this directly

Calls 2

exprClass · 0.85
cosFunction · 0.85

Tested by

no test coverage detected