Menu

[r131]: / trunk / include / complex- / complex-_zhematrix.hpp  Maximize  Restore  History

Download this file

11 lines (9 with data), 326 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
//=============================================================================
/*! 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.