This commit is contained in:
Oskar Weigl
2016-11-20 00:59:20 +09:00
parent 48b107b6e3
commit f22af031c0
3 changed files with 130 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#ifndef __UTILS_H
#define __UTILS_H
// Compute rising edge timings (0.0 - 1.0) as a function of alpha-beta
// as per the magnitude invariant clarke transform
// The magnitude of the alpha-beta vector may not be larger than sqrt(3)/2
// Returns 0 on success, and -1 if the input was out of range
int SVM(float alpha, float beta, float* tA, float* tB, float* tC);
#endif //__UTILS_H