1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #pragma once19 20 #include "[MathNamespace.h]"21 22 [MATH_BEGIN_NAMESPACE]23 24 class [Polynomial]25 {26 public:27 28 29 static int [SolveQuadratic](float a, float b, float c, float &root1, float &root2);30 31 #if 032 33 static int SolveCubic(float a, float b, float c, float [d], float &root1, float &root2, float &root3);34 35 36 static int SolveQuartic(float a, float b, float c, float d, float &root1, float &root2, float &root3, float &root4);37 #endif38 39 40 };41 42 [MATH_END_NAMESPACE] Go back to previous page