Package system.numerics
Class Complex
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.numerics.Complex
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Complex extends ValueType
The base .NET class managing System.Numerics.Complex, System.Runtime.Numerics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.See: https://docs.microsoft.com/en-us/dotnet/api/System.Numerics.Complex
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Runtime.Numerics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: System.Runtime.Numericsstatic String
className
Qualified class name: System.Numerics.Complexstatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static double
Abs(Complex value)
static Complex
Acos(Complex value)
static Complex
Add(double left, Complex right)
static Complex
Add(Complex left, double right)
static Complex
Add(Complex left, Complex right)
static Complex
Asin(Complex value)
static Complex
Atan(Complex value)
static Complex
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoComplex
, a cast assert is made to check if types are compatible.static Complex
Conjugate(Complex value)
static Complex
Cos(Complex value)
static Complex
Cosh(Complex value)
static Complex
Divide(double dividend, Complex divisor)
static Complex
Divide(Complex dividend, double divisor)
static Complex
Divide(Complex dividend, Complex divisor)
boolean
Equals(Complex value)
static Complex
Exp(Complex value)
static Complex
FromPolarCoordinates(double magnitude, double phase)
double
getImaginary()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typedouble
getMagnitude()
double
getPhase()
double
getReal()
static boolean
IsFinite(Complex value)
static boolean
IsInfinity(Complex value)
static boolean
IsNaN(Complex value)
static Complex
Log(Complex value)
static Complex
Log(Complex value, double baseValue)
static Complex
Log10(Complex value)
static Complex
Multiply(double left, Complex right)
static Complex
Multiply(Complex left, double right)
static Complex
Multiply(Complex left, Complex right)
static Complex
Negate(Complex value)
static Complex
Pow(Complex value, double power)
static Complex
Pow(Complex value, Complex power)
static Complex
Reciprocal(Complex value)
void
setJCOInstance(JCObject instance)
static Complex
Sin(Complex value)
static Complex
Sinh(Complex value)
static Complex
Sqrt(Complex value)
static Complex
Subtract(double left, Complex right)
static Complex
Subtract(Complex left, double right)
static Complex
Subtract(Complex left, Complex right)
static Complex
Tan(Complex value)
static Complex
Tanh(Complex value)
String
ToString(String format)
String
ToString(String format, IFormatProvider provider)
String
ToString(IFormatProvider provider)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Runtime.Numerics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Runtime.Numerics- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Numerics.Complex- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classValueType
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classValueType
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Complex cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoComplex
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Complex
instance- Throws:
Throwable
- in case of error during cast operation
-
IsFinite
public static boolean IsFinite(Complex value) throws Throwable, PlatformNotSupportedException, NotSupportedException
-
IsInfinity
public static boolean IsInfinity(Complex value) throws Throwable, PlatformNotSupportedException, NotSupportedException
-
IsNaN
public static boolean IsNaN(Complex value) throws Throwable, PlatformNotSupportedException, NotSupportedException
-
Divide
public static Complex Divide(double dividend, Complex divisor) throws Throwable
- Throws:
Throwable
-
Divide
public static Complex Divide(Complex dividend, double divisor) throws Throwable, PlatformNotSupportedException, NotSupportedException
-
Divide
public static Complex Divide(Complex dividend, Complex divisor) throws Throwable
- Throws:
Throwable
-
FromPolarCoordinates
public static Complex FromPolarCoordinates(double magnitude, double phase) throws Throwable
- Throws:
Throwable
-
Multiply
public static Complex Multiply(double left, Complex right) throws Throwable, PlatformNotSupportedException, NotSupportedException
-
Multiply
public static Complex Multiply(Complex left, double right) throws Throwable, PlatformNotSupportedException, NotSupportedException
-
Multiply
public static Complex Multiply(Complex left, Complex right) throws Throwable
- Throws:
Throwable
-
Sqrt
public static Complex Sqrt(Complex value) throws Throwable, PlatformNotSupportedException, NotSupportedException
-
Subtract
public static Complex Subtract(double left, Complex right) throws Throwable
- Throws:
Throwable
-
Subtract
public static Complex Subtract(Complex left, double right) throws Throwable
- Throws:
Throwable
-
Subtract
public static Complex Subtract(Complex left, Complex right) throws Throwable
- Throws:
Throwable
-
ToString
public String ToString(IFormatProvider provider) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, FormatException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
ToString
public String ToString(String format, IFormatProvider provider) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
ToString
public String ToString(String format) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, FormatException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
-