Class HybMath
Inheritance
System.Object
HybMath
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
[IntrinsicInclude("hybridizer.math.cuh", Flavor = 1)]
public class HybMath
Methods
Abs(Single)
Declaration
[IntrinsicFunction("hybridizer::fabs")]
public static float Abs(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
Ceil(Double)
Declaration
[IntrinsicFunction("hybridizer::ceil")]
public static double Ceil(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
Ceil(Single)
Declaration
[IntrinsicFunction("hybridizer::ceil")]
public static float Ceil(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
Cos(Double)
Declaration
[IntrinsicFunction("hybridizer::cos")]
public static double Cos(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
Cos(Single)
Declaration
[IntrinsicFunction("hybridizer::cos")]
public static float Cos(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
Exp(Double)
Declaration
[IntrinsicFunction("hybridizer::exp")]
public static double Exp(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
Exp(Single)
Declaration
[IntrinsicFunction("hybridizer::exp")]
public static float Exp(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
Expm1(Double)
Declaration
[IntrinsicFunction("hybridizer::expm1")]
public static double Expm1(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
Expm1(Single)
Declaration
[IntrinsicFunction("hybridizer::expm1")]
public static float Expm1(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
Fabs(Double)
Declaration
[IntrinsicFunction("hybridizer::fabs")]
public static double Fabs(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
Floor(Double)
Declaration
[IntrinsicFunction("hybridizer::floor")]
public static double Floor(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
Floor(Single)
Declaration
[IntrinsicFunction("hybridizer::floor")]
public static float Floor(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
InvErfC(Double)
Declaration
[IntrinsicFunction("::erfcinv", Flavor = 1)]
public static double InvErfC(double p)
Parameters
Type |
Name |
Description |
System.Double |
p |
|
Returns
Type |
Description |
System.Double |
|
InvErfC(Single)
Declaration
[IntrinsicFunction("::erfcinvf", Flavor = 1)]
public static float InvErfC(float p)
Parameters
Type |
Name |
Description |
System.Single |
p |
|
Returns
Type |
Description |
System.Single |
|
Log(Double)
Declaration
[IntrinsicFunction("hybridizer::log")]
public static double Log(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
Log(Single)
Declaration
[IntrinsicFunction("hybridizer::log")]
public static float Log(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
Mod(Double, Double)
Declaration
[IntrinsicFunction("hybridizer::mod")]
public static double Mod(double x, double y)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
Returns
Type |
Description |
System.Double |
|
Mod(Single, Single)
Declaration
[IntrinsicFunction("hybridizer::mod")]
public static float Mod(float x, float y)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
Returns
Type |
Description |
System.Single |
|
Pow(Double, Double)
Declaration
[IntrinsicFunction("hybridizer::pow")]
public static double Pow(double x, double a)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
a |
|
Returns
Type |
Description |
System.Double |
|
Pow(Single, Single)
Declaration
[IntrinsicFunction("hybridizer::pow")]
public static float Pow(float x, float a)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
a |
|
Returns
Type |
Description |
System.Single |
|
Rsqrt(Double)
Declaration
[IntrinsicFunction("hybridizer::rsqrt")]
public static double Rsqrt(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
Rsqrt(Single)
Declaration
[IntrinsicFunction("hybridizer::rsqrt")]
public static float Rsqrt(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
Sin(Double)
Declaration
[IntrinsicFunction("hybridizer::sin")]
public static double Sin(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
Sin(Single)
Declaration
[IntrinsicFunction("hybridizer::sin")]
public static float Sin(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|
Sqrt(Double)
Declaration
[IntrinsicFunction("hybridizer::sqrt")]
public static double Sqrt(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
Type |
Description |
System.Double |
|
Sqrt(Single)
Declaration
[IntrinsicFunction("hybridizer::sqrt")]
public static float Sqrt(float x)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
Returns
Type |
Description |
System.Single |
|