Download this file
12 lines (11 with data), 276 Bytes
| //=============================================================================
/*! */
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.