mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-06 17:31:49 +08:00
Support more of mathlib function for easier swap in px4.
This commit is contained in:
1 parent
558777f34c
commit
0eb8aa0c0b
10 files changed
+188
-4
No files matched your search
@@ -24,7 +24,10 @@ int main()
|
||||
Matrix3f A2 = eye<float, 3>()*2;
|
||||
Matrix3f B = A2.emult(A2);
|
||||
Matrix3f B_check = eye<float, 3>()*4;
|
||||
Matrix3f C_check = eye<float, 3>()*2;
|
||||
TEST(isEqual(B, B_check));
|
||||
Matrix3f C = B_check.edivide(C_check);
|
||||
TEST(isEqual(C, C_check));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user