C# Class MyMath.PolarComplex

複素数クラスの実装2 絶対値と偏角をメンバに持つ 加減算は激遅で、乗除算は高速
Inheritance: Complex
Show file Open project: ufcpp/UfcppSample Class Usage Examples

Public Properties

Property Type Description
I PolarComplex

Public Methods

Method Description
Add ( Complex z ) : Complex
Add ( double x ) : Complex
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
PolarComplex ( ) : System
PolarComplex ( Complex z ) : System
PolarComplex ( double r ) : System
PolarComplex ( double r, double t ) : System
Sub ( Complex z ) : Complex
Sub ( double x ) : Complex

Private Methods

Method Description
FromCartesian ( double x, double y ) : PolarComplex

直行座標からコンストラクト

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

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

PolarComplex() public method

public PolarComplex ( ) : System
return System

PolarComplex() public method

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

PolarComplex() public method

public PolarComplex ( double r ) : System
r double
return System

PolarComplex() public method

public PolarComplex ( double r, double t ) : System
r double
t double
return System

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 public property

static public PolarComplex,MyMath I
return PolarComplex