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
{
b.Copy(2.3);
c.Copy(4);
a.Power(b, c);
// a = b^c
}
finally
{
clMtxVec.FreeIt(
ref a,
ref b,
ref c);
}
}
}