Method pow
pow(Single, Single)
Returns x raised to the power y.
Declaration
public static float pow(float x, float y)
Parameters
Type | Name | Description |
---|---|---|
Single | x | The exponent base. |
Single | y | The exponent power. |
Returns
Type | Description |
---|---|
Single | The result of raising x to the power y. |
pow(float2, float2)
Returns the componentwise result of raising x to the power y.
Declaration
public static float2 pow(float2 x, float2 y)
Parameters
Type | Name | Description |
---|---|---|
float2 | x | The exponent base. |
float2 | y | The exponent power. |
Returns
Type | Description |
---|---|
float2 | The componentwise result of raising x to the power y. |
pow(float3, float3)
Returns the componentwise result of raising x to the power y.
Declaration
public static float3 pow(float3 x, float3 y)
Parameters
Type | Name | Description |
---|---|---|
float3 | x | The exponent base. |
float3 | y | The exponent power. |
Returns
Type | Description |
---|---|
float3 | The componentwise result of raising x to the power y. |
pow(float4, float4)
Returns the componentwise result of raising x to the power y.
Declaration
public static float4 pow(float4 x, float4 y)
Parameters
Type | Name | Description |
---|---|---|
float4 | x | The exponent base. |
float4 | y | The exponent power. |
Returns
Type | Description |
---|---|
float4 | The componentwise result of raising x to the power y. |
pow(Double, Double)
Returns x raised to the power y.
Declaration
public static double pow(double x, double y)
Parameters
Type | Name | Description |
---|---|---|
Double | x | The exponent base. |
Double | y | The exponent power. |
Returns
Type | Description |
---|---|
Double | The result of raising x to the power y. |
pow(double2, double2)
Returns the componentwise result of raising x to the power y.
Declaration
public static double2 pow(double2 x, double2 y)
Parameters
Type | Name | Description |
---|---|---|
double2 | x | The exponent base. |
double2 | y | The exponent power. |
Returns
Type | Description |
---|---|
double2 | The componentwise result of raising x to the power y. |
pow(double3, double3)
Returns the componentwise result of raising x to the power y.
Declaration
public static double3 pow(double3 x, double3 y)
Parameters
Type | Name | Description |
---|---|---|
double3 | x | The exponent base. |
double3 | y | The exponent power. |
Returns
Type | Description |
---|---|
double3 | The componentwise result of raising x to the power y. |
pow(double4, double4)
Returns the componentwise result of raising x to the power y.
Declaration
public static double4 pow(double4 x, double4 y)
Parameters
Type | Name | Description |
---|---|---|
double4 | x | The exponent base. |
double4 | y | The exponent power. |
Returns
Type | Description |
---|---|
double4 | The componentwise result of raising x to the power y. |