MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / FloatComplex makeScalar

Function FloatComplex makeScalar

src/client/clfunc_common.hpp:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49template<>
50__template_static FloatComplex
51makeScalar(double val)
52{
53 FloatComplex c;
54
55 c.s[0] = static_cast<float>(val);
56 c.s[1] = 0;
57
58 return c;
59}
60
61template<>
62__template_static DoubleComplex

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected