Menu

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

Download this file

14 lines (11 with data), 379 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
//=============================================================================
/*! comple*_zhematrix operator */
inline _zgematrix operator*(const comple& d, const _zhematrix& mat)
{CPPL_VERBOSE_REPORT;
zgematrix newmat =mat.to_zgematrix();
CPPL_INT size =mat.n*mat.n;
CPPL_INT inc =1;
zscal_(&size, &d, newmat.array, &inc);
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.