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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..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.Runtime.Numerics, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Runtime.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(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()
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 boolean
IsComplexNumber(Complex value)
static boolean
IsEvenInteger(Complex value)
static boolean
IsFinite(Complex value)
static boolean
IsImaginaryNumber(Complex value)
static boolean
IsInfinity(Complex value)
static boolean
IsInteger(Complex value)
static boolean
IsNaN(Complex value)
static boolean
IsNegative(Complex value)
static boolean
IsNegativeInfinity(Complex value)
static boolean
IsNormal(Complex value)
static boolean
IsOddInteger(Complex value)
static boolean
IsPositive(Complex value)
static boolean
IsPositiveInfinity(Complex value)
static boolean
IsRealNumber(Complex value)
static boolean
IsSubnormal(Complex value)
static Complex
Log(Complex value)
static Complex
Log(Complex value, double baseValue)
static Complex
Log10(Complex value)
static Complex
MaxMagnitude(Complex x, Complex y)
static Complex
MinMagnitude(Complex x, Complex y)
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
Parse(java.lang.String s, NumberStyles style, IFormatProvider provider)
static Complex
Parse(java.lang.String s, IFormatProvider provider)
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)
java.lang.String
ToString(java.lang.String format)
java.lang.String
ToString(java.lang.String format, IFormatProvider provider)
java.lang.String
ToString(IFormatProvider provider)
static boolean
TryParse(java.lang.String s, NumberStyles style, IFormatProvider provider, JCORefOut<Complex> result)
static boolean
TryParse(java.lang.String s, IFormatProvider provider, JCORefOut<Complex> result)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Runtime.Numerics, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Runtime.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
-
IsComplexNumber
public static boolean IsComplexNumber(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsEvenInteger
public static boolean IsEvenInteger(Complex value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
IsFinite
public static boolean IsFinite(Complex value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
IsImaginaryNumber
public static boolean IsImaginaryNumber(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsInfinity
public static boolean IsInfinity(Complex value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
IsInteger
public static boolean IsInteger(Complex value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
IsNaN
public static boolean IsNaN(Complex value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
IsNegative
public static boolean IsNegative(Complex value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
IsNegativeInfinity
public static boolean IsNegativeInfinity(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsNormal
public static boolean IsNormal(Complex value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
IsOddInteger
public static boolean IsOddInteger(Complex value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
IsPositive
public static boolean IsPositive(Complex value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
IsPositiveInfinity
public static boolean IsPositiveInfinity(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsRealNumber
public static boolean IsRealNumber(Complex value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsSubnormal
public static boolean IsSubnormal(Complex value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
TryParse
public static boolean TryParse(java.lang.String s, NumberStyles style, IFormatProvider provider, JCORefOut<Complex> result) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, OverflowException, NotSupportedException
-
TryParse
public static boolean TryParse(java.lang.String s, IFormatProvider provider, JCORefOut<Complex> result) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, OverflowException, NotSupportedException
-
Abs
public static double Abs(Complex value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
Acos
public static Complex Acos(Complex value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
Add
public static Complex Add(double left, Complex right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Add
public static Complex Add(Complex left, double right) 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, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
Atan
public static Complex Atan(Complex value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
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(double dividend, Complex divisor) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
Divide
public static Complex Divide(Complex dividend, double divisor) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
Divide
public static Complex Divide(Complex dividend, Complex divisor) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
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, double baseValue) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
Log
public static Complex Log(Complex value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
Log10
public static Complex Log10(Complex value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
MaxMagnitude
public static Complex MaxMagnitude(Complex x, Complex y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
MinMagnitude
public static Complex MinMagnitude(Complex x, Complex y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
Multiply
public static Complex Multiply(double left, Complex right) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
Multiply
public static Complex Multiply(Complex left, double right) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
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
-
Parse
public static Complex Parse(java.lang.String s, NumberStyles style, IFormatProvider provider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
CultureNotFoundException
OverflowException
-
Parse
public static Complex Parse(java.lang.String s, IFormatProvider provider) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, CultureNotFoundException, OverflowException
-
Pow
public static Complex Pow(Complex value, double power) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
Pow
public static Complex Pow(Complex value, Complex power) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
Reciprocal
public static Complex Reciprocal(Complex value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
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, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
Subtract
public static Complex Subtract(double left, Complex right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Subtract
public static Complex Subtract(Complex left, double right) 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, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
Tanh
public static Complex Tanh(Complex value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
ToString
public java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OverflowException, IndexOutOfRangeException, FormatException
-
ToString
public java.lang.String ToString(java.lang.String format, IFormatProvider provider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OverflowException, IndexOutOfRangeException, FormatException
-
ToString
public java.lang.String ToString(java.lang.String format) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OverflowException, IndexOutOfRangeException, FormatException
-
getImaginary
public double getImaginary() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMagnitude
public double getMagnitude() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
getPhase
public double getPhase() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getReal
public double getReal() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-