MCPcopy Create free account
hub / github.com/davisking/dlib / complex_cast

Function complex_cast

dlib/test/fft.cpp:556–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554
555 template<typename R1, typename R2>
556 std::complex<R1> complex_cast(const std::complex<R2> &c) {
557 return { static_cast<R1>(c.real()), static_cast<R1>(c.imag()) };
558 }
559
560 template<typename R>
561 void test_good_stft()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected