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

Function conj

src/backend/cpu/complex.hpp:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78
79template<typename T>
80Array<T> conj(const Array<T> &in) {
81 common::Node_ptr in_node = in.getNode();
82 auto node = std::make_shared<jit::UnaryNode<T, T, af_conj_t>>(in_node);
83
84 return createNodeArray<T>(in.dims(), move(node));
85}
86} // namespace cpu
87} // namespace arrayfire

Callers 1

getConjugateFunction · 0.70

Calls 2

getNodeMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected