You are here:
Symbol Reference >
Dew Namespace
>
Dew.Math Namespace
>
Classes
>
TOpenCLMtxVec Class
>
TOpenCLMtxVec Methods
>
InvCbrt Method
>
TOpenCLMtxVec.InvCbrt Method ()
Dew Math for .NET
Example
TOpenCLMtxVec.InvCbrt Method ()
using
Dew.Math
;
using
Dew.Math.Units
;
namespace
Dew.Examples() {
void
Example() {
TVec
a; MtxVec.CreateIt(
out
a);
try
{ a.CopyFromArray(
new
double
[] {-1, 8}); a.InvCbrt();
// returns [-1,0.5]
}
finally
{ MtxVec.FreeIt(
ref
a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
Contents
|
Index
|
Home