You are here:
Symbol Reference >
Dew Namespace
>
Dew.Math Namespace
>
Classes
>
TOpenCLValue Class
>
TOpenCLValue Methods
>
TOpenCLValue.LogN Method
Dew Math for .NET
TOpenCLValue.LogN Method
TOpenCLValue Class
TOpenCLValue Members
Dew.Math Namespace
TOpenCLValue Methods
Example
See Also
Collapse All
Log base N.
Syntax
C#
Visual Basic
public
TOpenCLValue
LogN
(
double
N
,
TOpenCLValue
X
);
Public
Function
LogN
(
N
,
X
As
TOpenCLValue
)
As
TOpenCLValue
Returns
returns Log with base N for value X.
See Also
Power
Example
using
Dew.Math
;
using
Dew.Math.Units
;
namespace
Dew.Examples() {
void
Example() {
TOpenCLValue
a,b; clMtxVec.CreateIt(
out
a,
out
b);
try
{ b.Copy(2.3); a.LogN(4, b);
// a = LogN(4, 2.3)
}
finally
{ clMtxVec.FreeIt(
ref
a,
ref
b); } } }
Group
TOpenCLValue Methods
Links
TOpenCLValue Class
,
TOpenCLValue Members
,
Dew.Math Namespace
,
TOpenCLValue Methods
,
Example
,
See Also
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
Contents
|
Index
|
Home
What do you think about this topic?
Send feedback!