You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVec Class > TMtxVec Properties > TMtxVec.Complex Property
Dew Math for .NET
ContentsIndexHome
Example
using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TVec a,b,c; MtxVec.CreateIt(out a, out b, out c); try { a.SetIt(true, new double[] {1,2,3,4}); b.SetIt(false,new double[] {8,9,6,7}); b.Complex = true; c.Mul(a,b); // = [(1+2i)*(8*9i), (3+4i)*(6+7i)] } finally { MtxVec.FreeIt(ref a,ref b,ref c); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.