C# Class xFunc.Maths.Tokens.ComplexNumberToken

Represent complex number token.
Inheritance: IToken
显示文件 Open project: sys27/xFunc Class Usage Examples

Public Methods

Method Description
ComplexNumberToken ( Complex complex ) : System

Initializes a new instance of the ComplexNumberToken class.

Equals ( object obj ) : bool

Determines whether the specified System.Object, is equal to this instance.

GetHashCode ( ) : int

Returns a hash code for this instance.

ToString ( ) : string

Returns a System.String that represents this instance.

Method Details

ComplexNumberToken() public method

Initializes a new instance of the ComplexNumberToken class.
public ComplexNumberToken ( Complex complex ) : System
complex Complex The complex number.
return System

Equals() public method

Determines whether the specified System.Object, is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
return bool

GetHashCode() public method

Returns a hash code for this instance.
public GetHashCode ( ) : int
return int

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string