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

Function conj

src/backend/opencl/complex.hpp:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82template<typename T>
83Array<T> conj(const Array<T> &in) {
84 common::Node_ptr in_node = in.getNode();
85 common::UnaryNode *node =
86 new common::UnaryNode(static_cast<af::dtype>(dtype_traits<T>::af_type),
87 conj_name<T>(), in_node, af_conj_t);
88
89 return createNodeArray<T>(in.dims(), common::Node_ptr(node));
90}
91} // namespace opencl
92} // namespace arrayfire

Callers

nothing calls this directly

Calls 2

getNodeMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected