Menu

[r108]: / trunk / include / double- / double-_zgsmatrix.hpp  Maximize  Restore  History

Download this file

12 lines (10 with data), 366 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
//=============================================================================
/*! double*_zgsmatrix operator */
inline _zgsmatrix operator*(const double& d, const _zgsmatrix& mat)
{
#ifdef CPPL_VERBOSE
std::cerr << "# [MARK] operator*(const double&, const _zgsmatrix&)" << std::endl;
#endif//CPPL_VERBOSE
zdscal_(mat.VOL, d, mat.Array, 1);
return mat;
}
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.