Thanks Bron for your reply. I am quit sure it is about the outer product. The ordinary product is also named as inner product, which indeed works in an opposite way. The outer product is used very rarely, but this time it happens to me. I have tried the "prod", and it only work as an inner product. Cheers Ting Yu At 04:18 PM 1/09/2008, you wrote:
maybe you just want "prod"?
F. Bron ___________________________________
boost-users-bounces@lists.boost.org a écrit sur 01/09/2008 03:56:15 :
Hi All, I am using the uBLAS to do an outer product between a vector and a matrix. The function "outer_prod" seems to only accept two vectors instead of a vector and a matrix. Is there anyone successfully to do the outer product between a vector and a matrix? Many Thanks
Cheers
Ting Yu
Research Fellow, PhD The Center for Integrated Sustainability Analysis (ISA) Office: Room 408, Physics Building A28, University of Sydney, NSW 2006 Tel: (02) 9351 2627 (Shared) Fax: (02) 9351 7726
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Avis : Ce message et toute pièce jointe sont la propriété d'Alcan et sont destinés seulement aux personnes ou à l'entité à qui le message est adressé. Si vous avez reçu ce message par erreur, veuillez le détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas le destinataire du message, vous n'êtes pas autorisé à utiliser, à copier ou à divulguer le contenu du message ou ses pièces jointes en tout ou en partie.
Notice: This message and any attachments are the property of Alcan and are intended solely for the named recipients or entity to whom this message is addressed. If you have received this message in error please inform the sender via e-mail and destroy the message. If you are not the intended recipient you are not allowed to use, copy or disclose the contents or attachments in whole or in part.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Research Fellow, PhD The Center for Integrated Sustainability Analysis (ISA) Office: Room 408, Physics Building A28, University of Sydney, NSW 2006 Tel: (02) 9351 2627 (Shared) Fax: (02) 9351 7726 Web: http://www.physics.usyd.edu.au/~tingyu/