public class MathF extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.MathF
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.MathF
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
MathF() |
MathF(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Single |
Abs(Single x)
Invokes the .NET member Abs.
|
static Single |
Acos(Single x)
Invokes the .NET member Acos.
|
static Single |
Acosh(Single x)
Invokes the .NET member Acosh.
|
static Single |
Asin(Single x)
Invokes the .NET member Asin.
|
static Single |
Asinh(Single x)
Invokes the .NET member Asinh.
|
static Single |
Atan(Single x)
Invokes the .NET member Atan.
|
static Single |
Atan2(Single y,
Single x)
Invokes the .NET member Atan2.
|
static Single |
Atanh(Single x)
Invokes the .NET member Atanh.
|
static Single |
BitDecrement(Single x)
Invokes the .NET member BitDecrement.
|
static Single |
BitIncrement(Single x)
Invokes the .NET member BitIncrement.
|
static MathF |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into MathF, a cast assert is made to check if types are compatible. |
static Single |
Cbrt(Single x)
Invokes the .NET member Cbrt.
|
static Single |
Ceiling(Single x)
Invokes the .NET member Ceiling.
|
static Single |
CopySign(Single x,
Single y)
Invokes the .NET member CopySign.
|
static Single |
Cos(Single x)
Invokes the .NET member Cos.
|
static Single |
Cosh(Single x)
Invokes the .NET member Cosh.
|
static Single |
Exp(Single x)
Invokes the .NET member Exp.
|
static Single |
Floor(Single x)
Invokes the .NET member Floor.
|
static Single |
FusedMultiplyAdd(Single x,
Single y,
Single z)
Invokes the .NET member FusedMultiplyAdd.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static Single |
IEEERemainder(Single x,
Single y)
Invokes the .NET member IEEERemainder.
|
static int |
ILogB(Single x)
Invokes the .NET member ILogB.
|
static Single |
Log(Single x)
Invokes the .NET member Log.
|
static Single |
Log(Single x,
Single y)
Invokes the .NET member Log.
|
static Single |
Log10(Single x)
Invokes the .NET member Log10.
|
static Single |
Log2(Single x)
Invokes the .NET member Log2.
|
static Single |
Max(Single x,
Single y)
Invokes the .NET member Max.
|
static Single |
MaxMagnitude(Single x,
Single y)
Invokes the .NET member MaxMagnitude.
|
static Single |
Min(Single x,
Single y)
Invokes the .NET member Min.
|
static Single |
MinMagnitude(Single x,
Single y)
Invokes the .NET member MinMagnitude.
|
static Single |
Pow(Single x,
Single y)
Invokes the .NET member Pow.
|
static Single |
ReciprocalEstimate(Single x)
Invokes the .NET member ReciprocalEstimate.
|
static Single |
ReciprocalSqrtEstimate(Single x)
Invokes the .NET member ReciprocalSqrtEstimate.
|
static Single |
Round(Single x)
Invokes the .NET member Round.
|
static Single |
Round(Single x,
int digits)
Invokes the .NET member Round.
|
static Single |
Round(Single x,
int digits,
MidpointRounding mode)
Invokes the .NET member Round.
|
static Single |
Round(Single x,
MidpointRounding mode)
Invokes the .NET member Round.
|
static Single |
ScaleB(Single x,
int n)
Invokes the .NET member ScaleB.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static int |
Sign(Single x)
Invokes the .NET member Sign.
|
static Single |
Sin(Single x)
Invokes the .NET member Sin.
|
static ValueTuple_2 |
SinCos(Single x)
Invokes the .NET member SinCos.
|
static Single |
Sinh(Single x)
Invokes the .NET member Sinh.
|
static Single |
Sqrt(Single x)
Invokes the .NET member Sqrt.
|
static Single |
Tan(Single x)
Invokes the .NET member Tan.
|
static Single |
Tanh(Single x)
Invokes the .NET member Tanh.
|
static Single |
Truncate(Single x)
Invokes the .NET member Truncate.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public MathF()
throws java.lang.Throwable
java.lang.Throwablepublic MathF(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static Single Abs(Single x) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Single Acos(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Acosh(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Asin(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Asinh(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Atan(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Atan2(Single y, Single x) throws java.lang.Throwable
y - the argument of type Singlex - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Atanh(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single BitDecrement(Single x) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Single BitIncrement(Single x) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static MathF cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into MathF, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedMathF instancejava.lang.Throwable - in case of error during cast operationpublic static Single Cbrt(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Ceiling(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single CopySign(Single x, Single y) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
x - the argument of type Singley - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Single Cos(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Cosh(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Exp(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Floor(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single FusedMultiplyAdd(Single x, Single y, Single z) throws java.lang.Throwable
x - the argument of type Singley - the argument of type Singlez - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static Single IEEERemainder(Single x, Single y) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArithmeticException
x - the argument of type Singley - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArithmeticException - if the .NET member raises itpublic static int ILogB(Single x) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Single Log(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Log(Single x, Single y) throws java.lang.Throwable
x - the argument of type Singley - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Log10(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Log2(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Max(Single x, Single y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
x - the argument of type Singley - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Single MaxMagnitude(Single x, Single y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
x - the argument of type Singley - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Single Min(Single x, Single y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
x - the argument of type Singley - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Single MinMagnitude(Single x, Single y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
x - the argument of type Singley - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Single Pow(Single x, Single y) throws java.lang.Throwable
x - the argument of type Singley - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single ReciprocalEstimate(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single ReciprocalSqrtEstimate(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Round(Single x) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Single Round(Single x, int digits) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
x - the argument of type Singledigits - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static Single Round(Single x, int digits, MidpointRounding mode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException
x - the argument of type Singledigits - the argument of type intmode - the argument of type MidpointRoundingjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static Single Round(Single x, MidpointRounding mode) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException
x - the argument of type Singlemode - the argument of type MidpointRoundingjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static Single ScaleB(Single x, int n) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
x - the argument of type Singlen - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic static int Sign(Single x) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, ArithmeticException
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArithmeticException - if the .NET member raises itpublic static Single Sin(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static ValueTuple_2 SinCos(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Sinh(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Sqrt(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Tan(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Tanh(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Truncate(Single x) throws java.lang.Throwable
x - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLR