You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > Ln Method > TOpenCLMtxVec.Ln Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.Ln Method ()

Natural logarithm.

Syntax
C#
Visual Basic
public TOpenCLMtxVec Ln();

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

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TOpenCLVector a; clMtxVec.CreateIt(out a); try { a.CopyFromArray( new double[] {1,8}); a.Ln(); } finally { clMtxVec.FreeIt(ref a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!