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

Function imag

src/backend/cpu/complex.hpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63template<typename To, typename Ti>
64Array<To> imag(const Array<Ti> &in) {
65 common::Node_ptr in_node = in.getNode();
66 auto node = std::make_shared<jit::UnaryNode<To, Ti, af_imag_t>>(in_node);
67
68 return createNodeArray<To>(in.dims(), move(node));
69}
70
71template<typename To, typename Ti>
72Array<To> abs(const Array<Ti> &in) {

Callers

nothing calls this directly

Calls 2

getNodeMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected