pow

From DavinciWiki
Jump to: navigation, search


64-bit SafeYes

Description

Compute val1 raised to the power of val2

Arguments and Return Values

Arguments: two numeric arrays

Return Value: A numeric array containing the first input raised to the power of the second input

Usage

Syntax: pow(ob1 = VAL, ob2 = VAL)

Examples

dv> a
4x3x1 array of float, bsq format [48 bytes]
0.871736        0.252256        0.855913        0.793858
0.540481        0.816743        0.604638        0.125098
0.651419        0.322488        0.0191050       0.786868

dv> b
4x3x1 array of float, bsq format [48 bytes]
2.50000 2.50000 2.80750 2.80750
2.50000 2.50000 2.80750 2.80750
2.50000 2.50000 2.80750 2.80750

dv> pow(a,b)
4x3x1 array of float, bsq format [48 bytes]
0.709516        0.0319598       0.646094        0.523032
0.214759        0.602857        0.243528        0.00292097
0.342492        0.0590588       1.49391e-05     0.510204

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 07-06-2009

Personal tools