using System; using Science.Mathematics; using L=Science.Mathematics.SpecialFunction; namespace ScienceTest.MathematicsTest.SpecialFunctionTest { /// /// OrthogonalPolynomialTest /// public class OrthogonalPolynomialTest { public OrthogonalPolynomialTest() { } private string result; public string Result { get{return result;} } public void Compute() { result = Convert.ToString(L.OrthogonalPolynomial.LegendreP(3,2,0.5))+"\r\n"; Complex k = L.OrthogonalPolynomial.SphericalHarmonicY(3,2,2.3,1.5); result += k.ToString()+"\r\n"; } } } //5.625 //0.37485660534663 -I 0.0534345132407209