Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

10.65 transposeProduct()

PrototypesHeader File(s)
template <class T>
RWGenMat<T>
transposeProduct(const RWGenMat<T>& A,
const RWGenMat<T>& B)

<rw/math/
genmat.h>

10.65.1 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 DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.