MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / operator *

Method operator *

libraries/Complex/complex.cpp:81–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80
81Complex Complex::operator * (const Complex &c) const
82{
83 float r = re * c.re - im * c.im;
84 float i = re * c.im + im * c.re;
85 return Complex(r, i);
86}
87
88
89Complex Complex::operator / (const Complex &c) const

Callers

nothing calls this directly

Calls 1

ComplexClass · 0.85

Tested by

no test coverage detected