Re: Fw: [PEAR-DEV] Math::Math_Algebra package ?

From: Date: Fri, 31 Dec 2004 19:11:49 +0000
Subject: Re: Fw: [PEAR-DEV] Math::Math_Algebra package ?
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-35279@lists.php.net to get a copy of this message
Hi Louis, Same answer for float, complex or big numbers? The algebra depends on the groups or body. Can we factorize the most as Exp = a + X.(b + X.(c + X.(...))) or as Exp = (a + X).(b +X).(c +X) ... So far it's given variables X and Y how is the expression factorized ? X first: X^3*Y^2 or Y first: Y^2*X^3 ?) How are the features stored ? (not XML ???) What is the notation ? Some computed algebras exist, PHP & Pear allmost give access to such oriented systems. Wheels are allready invented here, Better make a PHP/Pear 4WD car, a wheel in each algebra system existing. Best 2005, -- bertrand Gugger (toggg) Louis Mullie wrote: > Just implemented it. Thanks for the suggestion :) > > Regards, > Louis > > Firman Wandayandi wrote: > >> "Louis Mullie", Wednesday, December 31, 2003 3:34 AM wrote: >> >>>> It does support polynomials, i.e. : >>>> >>>> 1/2( x(x + 4) - 6x^2 + 8y - 7/8x + 3y^2 + 7/12x + 3x + y) + x^2 >>>> returns : >>>> 161/48x + -3/2x^2 + 9/2y + 3/2y^2 >>>> >>>> There is also an option to return formatted powers as superscripts, >>>> but >>>> I couldn't paste it here. >>> >> >> >> Could it returns a number if i given x = 2 and y = 3? >> >> Regards, >> -- Firman > >

« previous php.pear.dev (#35279) next »