Command Reference : Function Reference : Function Reference: E
  
 
@epow
Element by element raise to a power in a data object.
Syntax: @epow(m1, m2)
m1: numeric object
m2: numeric object
Return: numeric object
Returns a matrix where every element is equal to the corresponding element in m1 raised to the power given by m2.
Examples
Let X be a matrix of IID standard normal variates. Then
= @epow(x, 2)
returns a matrix of IID chi-square variates with unit degree of freedom.
Cross-references
See also @ediv, @einv, and @emult.