#include "wb-vector.h"
#include "wb-log.h"
#include "wb-file.h"
Go to the source code of this file.
|
| wb |
| define all the code written by Bin Wang.
|
|
|
template<class T > |
bool | wb::VecEqual (VecShell< T > &v1, VecShell< T > &v2) |
| calculate V==V More...
|
|
template<class T > |
void | wb::VecAdd (VecShell< T > &res, VecShell< T > &v1, VecShell< T > &v2) |
| calculate V + V More...
|
|
template<class T > |
T | wb::VecDot (VecShell< T > &v1, VecShell< T > &v2) |
| calculate V*V More...
|
|
template<class T > |
T | wb::MatVec2 (MatShell< T > &m, VecShell< T > &v1, VecShell< T > &v2) |
| calculate V1*M*V2 More...
|
|