size=150Static class Math/size
ubStatic class "Math" contains:/b/u
list
*Math.E = 2,7182818284590452353/*:m
*Math.PI = 3,14159265358979323846/*:m
*Math.GetPolynomRoots(IList Coefficients) - find roots of general polynom (level up to 100)./*:m/list:u
Static class Math
Static class Math
Ing. Petr Slepicka
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
Re: Static class Math
size=150Polynom root finder/size
SDF implements url=http://en.wikipedia.org/wiki/Jenkins%E2%80%93Traub_algorithmJenkins-Traub/url algorithm for polynom root finding.
Polynom degree is theoretically infinite, from practical reasons limited to 100.
ubSyntax:/b/u
object X = Math.GetPolynomRoots0(object Coefs)
list
*Coefs - Zero-based list of coefficients. Sorted from the lowest to the highest (X0, X1, X2, .. Xn)/*:m
*Result - Real polynom roots, sorted from lowest to highest./*:m/list:u
object X = Math.GetPolynomRoots(object Coefs)
list
*Coefs - Zero-based list of coefficients. Sorted from the highest to the lowest (Xn, ... X2, X1, X0)/*:m
*Result - Polynom roots, sorted from lowest to highest./*:m/list:u
SDF implements url=http://en.wikipedia.org/wiki/Jenkins%E2%80%93Traub_algorithmJenkins-Traub/url algorithm for polynom root finding.
Polynom degree is theoretically infinite, from practical reasons limited to 100.
ubSyntax:/b/u
object X = Math.GetPolynomRoots0(object Coefs)
list
*Coefs - Zero-based list of coefficients. Sorted from the lowest to the highest (X0, X1, X2, .. Xn)/*:m
*Result - Real polynom roots, sorted from lowest to highest./*:m/list:u
object X = Math.GetPolynomRoots(object Coefs)
list
*Coefs - Zero-based list of coefficients. Sorted from the highest to the lowest (Xn, ... X2, X1, X0)/*:m
*Result - Polynom roots, sorted from lowest to highest./*:m/list:u
- Attachments
-
- PolynomRootFinder.cls
- (64.03 KiB) Downloaded 435 times
Ing. Petr Slepicka
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
Re: Static class Math
size=150New variant of the command GetPolynomRoots/size
buSyntax:/u/b
object X = Math.GetPolynomRoots(double X0, double X1, double X2, double X3, double X4, double X5, double X6)
list
*X0..X6 - Coefficient of X^0, ... X^6/*:m
*Result - Polynom roots, sorted from lowest to highest./*:m/list:u
buSyntax:/u/b
object X = Math.GetPolynomRoots(double X0, double X1, double X2, double X3, double X4, double X5, double X6)
list
*X0..X6 - Coefficient of X^0, ... X^6/*:m
*Result - Polynom roots, sorted from lowest to highest./*:m/list:u
Ing. Petr Slepicka
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
Re: Static class Math
size=150Complex roots of the polynom/size
Polynom root finder can return also complex roots of the polynom.
Commands:
list
*GetPolynomComplexRoots0(IList Coefficients)/*:m
*GetPolynomComplexRoots(IList Coefficients)/*:m
*GetPolynomComplexRoots(double X0, double X1, double X2, double X3, double X4, double X5, double X6)/*:m/list:u
See detailed syntax in url=http://designforms.net/help/command reference guide/url.
Polynom root finder can return also complex roots of the polynom.
Commands:
list
*GetPolynomComplexRoots0(IList Coefficients)/*:m
*GetPolynomComplexRoots(IList Coefficients)/*:m
*GetPolynomComplexRoots(double X0, double X1, double X2, double X3, double X4, double X5, double X6)/*:m/list:u
See detailed syntax in url=http://designforms.net/help/command reference guide/url.
Ing. Petr Slepicka
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
Return to “Design forms features”
Who is online
Users browsing this forum: No registered users and 1 guest