using Dew.Math;
using Dew.Math.Units;
namespace Dew.Examples()
{
void Example()
{
TOpenCLVector a;
clMtxVec.CreateIt(
out a);
try
{
a.CopyCplxFromArray(
new double[] {1,-0.5,0.11,0.9});
a.ArcSin();
// Computes complex inverse sine
}
finally
{
clMtxVec.FreeIt(
ref a);
}
}
}