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 = Convert.ToString(k.Real)+" +i "+Convert.ToString(k.Imaginary)+"\r\n"; } } }