using Dew.Math;
using Dew.Math.Units;
namespace Dew.Examples()
{
void Example()
{
TOpenCLValue a,b,c;
clMtxVec.CreateIt(
out a,
out b,
out c);
try
{
a.Copy(2);
b.Copy(3);
c.RealToCplx(a,b);
//c = 2+3i
}
finally
{
clMtxVec.FreeIt(
ref a,
ref b,
ref c);
}
}
}