You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLValue Class > TOpenCLValue Methods > Power Method > TOpenCLValue.Power Method (TOpenCLValue, TOpenCLValue)
Dew Math for .NET
ContentsIndexHome
Example
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); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.