Menu

[r78]: / trunk / include / small / double-drovector_small.hpp  Maximize  Restore  History

Download this file

12 lines (11 with data), 276 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
//=============================================================================
/*! */
template<long l>
inline drovector_small<l> operator*(const double& v, const drovector_small<l>& A)
{
drovector_small<l> X;
for(long i=0; i<l; i++){
X(i) =v*A(i);
}
return X;
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.