Menu

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

Download this file

10 lines (9 with data), 292 Bytes

1
2
3
4
5
6
7
8
9
//=============================================================================
/*! */
template<long n>
inline dsymatrix_small<n> operator*(const double& v, const dsymatrix_small<n>& A)
{
dsymatrix_small<n> X;
for(long k=0; k<(n*(n+1))/2; k++){ X.array[k] =v*A.array[k]; }
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.