TrigFactor equivalent



Hello,
 
Hereafter the expression :
 
m: matrix(
[sin(a),sin(b),sin(c)], 
 [sin(3*a),sin(3*b),sin(3*c)], 
 [sin(5*a),sin(5*b),sin(5*c)]
);
determinant(%);
 
giving :
sin(a)*(sin(3*b)*sin(5*c)-sin(5*b)*sin(3*c))-sin(b)*(sin(3*a)*sin(5*c)-sin(5
*a)*sin(3*c))+
(sin(3*a)*sin(5*b)-sin(5*a)*sin(3*b))*sin(c)
 
In Mathematica, TrigFactor will  transform this into:
64 Sin[a] Sin[a - b] Sin[b] Sin[a + b] Sin[a - c] Sin[b - c] Sin[c] Sin[a +
c] Sin[b + c]
 
This is what I would like to achieve in Maxima.
Pierre
 
De : macrakis at gmail.com [mailto:macrakis at gmail.com] De la part de Stavros
Macrakis
Envoy? : mercredi 31 juillet 2013 15:58
? : Pierre Henrotay (Skynet)
Cc : maxima mailing list
Objet : Re: [Maxima] TrigFactor equivalent
 
Maxima as far as I know doesn't have a direct equivalent to TrigFactor.
 
What is the expression you have, and what form would you like to see it in?
As the Mathematica documentation says, "A trigonometric expression can be
factored in many different ways", but it doesn't specify the particular
factorization used by TrigFactor, or the algorithm used to calculate it.
Maybe we can find some other way of handling your case.
 
Maxima has many functions for manipulating expressions involving trig
functions, including trigreduce, trigexpand, trigsimp, trigrat,
exponentialize, etc.  Combining these with general functions like factor,
expand, etc., you can perform many useful trigonometric expression
transformations.
 
              -s
 
 
On Wed, Jul 31, 2013 at 6:36 AM, Pierre Henrotay (Skynet)
<pierre.henrotay at skynet.be> wrote:
Dear,
 
New to maxima, but have some experience with Mathematica.
I am looking for the equivalent of TrigFactor. No luck so far.
I did not search the archives yet ? sorry if duplicate.
 
Regards to all,
 
Pierre Henrotay
 

_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima