git-svn-id: svn://db.shs.com.ru/pip@766 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -527,11 +527,11 @@ inline PIMathVector<Type> operator *(const PIMathMatrix<Type> & fm,
|
||||
PIMathVector<Type> tv(r);
|
||||
if (c != sv.size()) return tv;
|
||||
Type t;
|
||||
for (uint i = 0; i < r; ++i) {
|
||||
for (uint j = 0; j < r; ++j) {
|
||||
t = Type(0);
|
||||
for (uint j = 0; j < c; ++j)
|
||||
t += fm.element(j, i) * sv[j];
|
||||
tv[i] = t;
|
||||
for (uint i = 0; i < c; ++i)
|
||||
t += fm.element(j, i) * sv[i];
|
||||
tv[j] = t;
|
||||
}
|
||||
return tv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user