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

Log base 2.

Syntax
C#
Visual Basic
public TMtxVec Log2();

Calculate the log base 2 for all calling object elements in-place.

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