Raises the elements of a vector to an integer power
from the corresponding elements in another vector.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<T> ElementwisePow<T>(
this Vector<T> left,
Vector<int> right
)
<ExtensionAttribute>
Public Shared Function ElementwisePow(Of T) (
left As Vector(Of T),
right As Vector(Of Integer)
) As Vector(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static Vector<T>^ ElementwisePow(
Vector<T>^ left,
Vector<int>^ right
)
[<ExtensionAttribute>]
static member ElementwisePow :
left : Vector<'T> *
right : Vector<int> -> Vector<'T>
Parameters
- left
- Type: Extreme.MathematicsVectorT
A vector. - right
- Type: Extreme.MathematicsVectorInt32
A vector containing exponents.
Type Parameters
- T
Return Value
Type:
VectorTA new vector whose elements are equal to
the elements of
left raised to the power with exponent
the corresponding element in
right .
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
VectorT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Reference