|
Contents | Previous | Next | Subchapters |
| Syntax |
x = pow2(e) |
x = pow2(f, e) | |
| See Also | log2 , ^ , exp |
e
x = 2
int(e)
x = Re[f] * 2
where Re[f]
is the real part of f
and int(e)
is the integer part of e.
If both arguments are real, x is real,
otherwise x is double-precision.
pow2(2.)
returns
4
If you enter
pow2( [1., 2.], [0., 1.] )
O-Matrix will reply
{
[ 1 , 4 ]
}