Exemplo n.º 1
0
//vzSub	Subtraction of vector elements
void klVSLSub(klVector< complex<double > >& v,klVector< complex<double> >& b, klVector< complex<double > >& ans)
{
	vmlSetMode( VML_LA | VML_FTZDAZ_ON | VML_ERRMODE_ERRNO );
	if(v.getColumns() != b.getColumns() )
	{
		ANSI_INFO; throw klError(err + "Range Argument Exception in klVSLSub");
	}
	const __int64_t n = v.getColumns();


	vzSub( n,  v.getMemory(),b.getMemory(),ans.getMemory());
}
Exemplo n.º 2
0
DLLEXPORT void z_vector_subtract( const int n, const MKL_Complex16 x[], const MKL_Complex16 y[], MKL_Complex16 result[] ){
	vzSub( n, x, y, result );
}