Does not inherit
Prototypes | Header File(s) | |
template <class T> | ||
RWGenMat<T> | transposeProduct(const RWGenMat<T>& A, | <rw/math/ |
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:
C = product( transpose(A), B);
© 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.