C# Class MyMath.CartesianComplex

複素数クラスの実装1 実部と虚部をメンバに持つ 加減算は高速で、乗除算は低速
Inheritance: Complex
Exibir arquivo Open project: ufcpp/UfcppSample Class Usage Examples

Public Properties

Property Type Description
I CartesianComplex

Public Methods

Method Description
Add ( Complex z ) : Complex
Add ( double x ) : Complex
CartesianComplex ( ) : System
CartesianComplex ( Complex z ) : System
CartesianComplex ( double x ) : System
CartesianComplex ( double x, double y ) : System
Clone ( ) : object
Conjugate ( ) : Complex
Div ( Complex z ) : Complex
Div ( double x ) : Complex
Equals ( double x ) : bool
Equals ( object o ) : bool
GetHashCode ( ) : int
Invert ( ) : Complex
Mul ( Complex z ) : Complex
Mul ( double x ) : Complex
Negate ( ) : Complex
Norm ( ) : double
Sub ( Complex z ) : Complex
Sub ( double x ) : Complex

Private Methods

Method Description
FromPolar ( double r, double theta ) : CartesianComplex

極座標からコンストラクト

Method Details

Add() public method

public Add ( Complex z ) : Complex
z Complex
return Complex

Add() public method

public Add ( double x ) : Complex
x double
return Complex

CartesianComplex() public method

public CartesianComplex ( ) : System
return System

CartesianComplex() public method

public CartesianComplex ( Complex z ) : System
z Complex
return System

CartesianComplex() public method

public CartesianComplex ( double x ) : System
x double
return System

CartesianComplex() public method

public CartesianComplex ( double x, double y ) : System
x double
y double
return System

Clone() public method

public Clone ( ) : object
return object

Conjugate() public method

public Conjugate ( ) : Complex
return Complex

Div() public method

public Div ( Complex z ) : Complex
z Complex
return Complex

Div() public method

public Div ( double x ) : Complex
x double
return Complex

Equals() public method

public Equals ( double x ) : bool
x double
return bool

Equals() public method

public Equals ( object o ) : bool
o object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Invert() public method

public Invert ( ) : Complex
return Complex

Mul() public method

public Mul ( Complex z ) : Complex
z Complex
return Complex

Mul() public method

public Mul ( double x ) : Complex
x double
return Complex

Negate() public method

public Negate ( ) : Complex
return Complex

Norm() public method

public Norm ( ) : double
return double

Sub() public method

public Sub ( Complex z ) : Complex
z Complex
return Complex

Sub() public method

public Sub ( double x ) : Complex
x double
return Complex

Property Details

I static_oe public_oe property

static public CartesianComplex,MyMath I
return CartesianComplex