Download this file
11 lines (9 with data), 326 Bytes
| //=============================================================================
/*! comple*_zhematrix operator */
inline _zgematrix operator*(const comple& d, const _zhematrix& mat)
{VERBOSE_REPORT;
zgematrix newmat( mat.to_zgematrix() );
zscal_(mat.n*mat.n, d, newmat.array, 1);
mat.destroy();
return _(newmat);
}
|
×
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.