Call cdMul() function
This commit is contained in:
@@ -139,6 +139,13 @@ extern "C" {
|
||||
};
|
||||
}
|
||||
|
||||
__attribute__((always_inline)) inline cd_t cdMul(const cd_t a, const cd_t b)
|
||||
{
|
||||
return (cd_t) {
|
||||
.r = a.r * b.r - a.i * b.i,
|
||||
.i = a.r * b.i + a.i * b.r
|
||||
};
|
||||
}
|
||||
|
||||
// On N complex numbers
|
||||
// y.r += (x * alpha.r) >> 14
|
||||
|
||||
Reference in New Issue
Block a user