You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > Exp2 Method > Matrix.Exp2 Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.Exp2 Method ()

Exponent base 2 (2^).

Syntax
C#
Visual Basic
public TMtxVec Exp2();

Calculate the exponent base 2 (2^) for all calling object elements in-place.

var a,b: Matrix; begin a.SetIt(2,2,False,[1,2,3,4]); // a = [1,2,3,4] a.Exp2; // a = [2,4,8,16] a := Exp2(a); b.Exp2(a); //same as b := Exp2(a); end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!