Re: Need help w/ computing sums

Tunc Simsek <[email protected]>
Newsgroups gmane.lisp.matlisp.user
Organization UC Berkeley
Message-ID <[email protected]>
Hmm, that looks like a windowed fft. If that's the
case you may want to try (HELP FFT)

Richard James Panturis Giuly wrote:
> 
> Is there a good way to compute the following for a large matrix?
> 
> (v's are column vectors of V, u's are vectors of U)
> 
> I need the value of each line; I'm sort of dragging one matrix over
> the other (horizontally) and adding the elements of the parts that
> touch.
> 
> [v3] + [u1]
> 
> [v2 v3] + [u1 u2]
> 
> [v1 v2 v3] + [u1 u2 u3]
> 
> [v1 v2] + [u2 u3]
> 
> [v1] + [u3]
> 

I'm guessing that the intermediary results form another array of
length 2n-1.  I can't see any immediate way of doing this using
the higher level matlisp interfaces.  But you may be able to
do something clever with the direct interfaces.  Try (HELP BLAS)
and (HELP LAPACK).

Regards,
Tunc


> 
> _______________________________________________
> Matlisp-users mailing list
> [email protected]
> http://lists.sourceforge.net/mailman/listinfo/matlisp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.