Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Math Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

transposeProduct()


Does not inherit

Local Index

No Entries

Summary

Prototypes Header File(s)

template <class T>

   

RWGenMat<T>

transposeProduct(const RWGenMat<T>& A,
const RWGenMat<T>& B)

<rw/math/
genmat.h>

Description

Takes a matrix A (of M rows by N columns) and a matrix B (of M rows by P columns) as arguments, and returns a matrix C (of N rows by P columns) that is equal to ATB, that is, the inner product of the transpose of A with B:

If the number of rows in A does not match the number of rows in B, an exception with value MATX_MATMATPROD occurs.

Note that calling this function is equivalent to calling:



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.