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.StringassemblyFullNameFully assembly qualified name: System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Numericsstatic java.lang.StringclassNameQualified class name: System.Numerics.Complexstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static doubleAbs(Complex value)static ComplexAcos(Complex value)static ComplexAdd(Complex left, Complex right)static ComplexAsin(Complex value)static ComplexAtan(Complex value)static Complexcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoComplex, a cast assert is made to check if types are compatible.static ComplexConjugate(Complex value)static ComplexCos(Complex value)static ComplexCosh(Complex value)static ComplexDivide(Complex dividend, Complex divisor)booleanEquals(Complex value)static ComplexExp(Complex value)static ComplexFromPolarCoordinates(double magnitude, double phase)doublegetImaginary()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypedoublegetMagnitude()doublegetPhase()doublegetReal()static ComplexLog(Complex value)static ComplexLog(Complex value, double baseValue)static ComplexLog10(Complex value)static ComplexMultiply(Complex left, Complex right)static ComplexNegate(Complex value)static ComplexPow(Complex value, double power)static ComplexPow(Complex value, Complex power)static ComplexReciprocal(Complex value)voidsetJCOInstance(JCObject instance)static ComplexSin(Complex value)static ComplexSinh(Complex value)static ComplexSqrt(Complex value)static ComplexSubtract(Complex left, Complex right)static ComplexTan(Complex value)static ComplexTanh(Complex value)java.lang.StringToString(java.lang.String format)java.lang.StringToString(java.lang.String format, IFormatProvider provider)java.lang.StringToString(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.ThrowableInternal 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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classValueType- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classValueType- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Complex cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoComplex, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Complexinstance- 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.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatException
-
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
-
-