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

Function conj

src/backend/cuda/complex.hpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

getNodeMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected