Biomechanical Joint Model
 Author: Anderson Maciel

mat.cpp

Go to the documentation of this file.
00001 #include "mat.h"
00002 
00003 namespace LinAlg{
00004 
00005 
00006 Vector Matrix_::operator*(const Vector &V) const
00007 {
00008    assert (n_==V.dim());
00009 
00010    Vector tmp(m_);
00011    for (int i=0; i<m_; i++)
00012    {
00013       double sum=0;
00014       for (int j=0;j<n_;j++)
00015          sum += V[j] * v_[i][j];
00016 
00017       tmp[i]=sum;
00018    }
00019           
00020    return tmp;
00021 }
00022 
00023 
00024 
00025 }

Generated on Thu Dec 1 10:13:38 2005 for COME - Biomechanical Joint Model by  doxygen 1.4.5