MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

flop-count

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92283] flop-count
  • From: Fabian <fabian.uriarte at gmail.com>
  • Date: Fri, 26 Sep 2008 06:25:03 -0400 (EDT)

Dear Group-

Is there a way to compute the flop-count (i.e., number of sums and
products) in matrix algebra ?  For example:

ScalarResult = x.A.B.C.D.E.F.y

where:

x = 1 x ... vector
y = ... x 1 vector
A,B,C,D,E,F = ... x ... matrices

I was considering the possibility of using FullForm, Head, or counting
the number of Plus and Times instances, but no luck.

Any help is appreciated.

Thank you.




  • Prev by Date: How to do symbolic matrix manipulations
  • Next by Date: Gaussian Elimination on Compound Matrix
  • Previous by thread: Re: How to do symbolic matrix manipulations
  • Next by thread: Re: flop-count