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.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Numerics.Complex
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Numericsstatic java.lang.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(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(Complex dividend, Complex divisor)
boolean
Equals(Complex value)
static Complex
Exp(Complex value)
static Complex
FromPolarCoordinates(double magnitude, double phase)
double
getImaginary()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typedouble
getMagnitude()
double
getPhase()
double
getReal()
static Complex
Log(Complex value)
static Complex
Log(Complex value, double baseValue)
static Complex
Log10(Complex value)
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(Complex left, Complex right)
static Complex
Tan(Complex value)
static Complex
Tanh(Complex value)
java.lang.String
ToString(java.lang.String format)
java.lang.String
ToString(java.lang.String format, IFormatProvider provider)
java.lang.String
ToString(IFormatProvider provider)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Numerics- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Numerics.Complex- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Complex
public Complex(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
Complex
public Complex() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Complex
public Complex(double real, double imaginary) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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:
java.lang.Throwable
- in case of error during cast operation
-
Equals
public boolean Equals(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Abs
public static double Abs(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Acos
public static Complex Acos(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Add
public static Complex Add(Complex left, Complex right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Asin
public static Complex Asin(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Atan
public static Complex Atan(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Conjugate
public static Complex Conjugate(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Cos
public static Complex Cos(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Cosh
public static Complex Cosh(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Divide
public static Complex Divide(Complex dividend, Complex divisor) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Exp
public static Complex Exp(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
FromPolarCoordinates
public static Complex FromPolarCoordinates(double magnitude, double phase) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Log
public static Complex Log(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Log
public static Complex Log(Complex value, double baseValue) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Log10
public static Complex Log10(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public static Complex Multiply(Complex left, Complex right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Negate
public static Complex Negate(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Pow
public static Complex Pow(Complex value, double power) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Pow
public static Complex Pow(Complex value, Complex power) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Reciprocal
public static Complex Reciprocal(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Sin
public static Complex Sin(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Sinh
public static Complex Sinh(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Sqrt
public static Complex Sqrt(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Subtract
public static Complex Subtract(Complex left, Complex right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Tan
public static Complex Tan(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Tanh
public static Complex Tanh(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToString
public java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
OutOfMemoryException
FormatException
-
ToString
public java.lang.String ToString(java.lang.String format) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException
-
ToString
public java.lang.String ToString(java.lang.String format, IFormatProvider provider) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException
-
getImaginary
public double getImaginary() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMagnitude
public double getMagnitude() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPhase
public double getPhase() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getReal
public double getReal() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-