[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dot product (nx1).*(nxm)
From: |
Andre Bonfrer |
Subject: |
Dot product (nx1).*(nxm) |
Date: |
Sun, 05 Dec 1999 11:54:37 +1100 |
Hi!
I'm trying to minimise a function that requires a lot of dot products of
the
form (dimensions)
(nx1).*(nxm)
e.g. p .* v
where
p is size nx1
v is size nxm
Right now I'm using kron(p,ones(1,m)).*v but it's very slow.
I'm using Octave 2.1.9 on RH6.1, and I've searched the faq's, archives
etc. but
don't seem to be able to find any way of doing this.
Can anyone help? Are there any functions out there that may be a little
faster than the kron product?
Andre
--
Andre Bonfrer
The Coles Myer Center for Retailing and Marketing
Melbourne Business School
200 Leicester Street
Carlton, VIC 3053
AUSTRALIA
Tel: 61 3 9349 8194
Fax: 61 3 9349 8193
Email: address@hidden
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------
- Dot product (nx1).*(nxm),
Andre Bonfrer <=
- RE: Dot product (nx1).*(nxm), Heber Farnsworth, 1999/12/04
- RE: Dot product (nx1).*(nxm), Mike Miller, 1999/12/04
- Re: Dot product (nx1).*(nxm), Joao Cardoso, 1999/12/05
- Re: Dot product (nx1).*(nxm), Joao Cardoso, 1999/12/05
- Re: Dot product (nx1).*(nxm), Mike Miller, 1999/12/06
- Re: Dot product (nx1).*(nxm), John W. Eaton, 1999/12/06
- Re: Dot product (nx1).*(nxm), Joao Cardoso, 1999/12/06
- Re: Dot product (nx1).*(nxm), Mike Miller, 1999/12/06
- speed issues (was Re: Dot product (nx1).*(nxm)), Mike Miller, 1999/12/06