Platforms to show: All Mac Windows Linux Cross-Platform

### ComplexDoubleMBS class

Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |

class | Data Types | MBS DataTypes Plugin | 10.4 | Yes | Yes | Yes | Yes | No |

**Function:**A class for complex numbers.

**Example:**

`dim c as new ComplexDoubleMBS(1,2)`

dim d as new ComplexDoubleMBS(4,7)

dim sum as ComplexDoubleMBS = c+d

MsgBox sum.str

- 2 properties
- 37 methods
- method abs as Double
- method Add(c as ComplexDoubleMBS)
- method Add(x as Double)
- method arg as Double
- method conj as ComplexDoubleMBS
- method Constructor(other as ComplexDoubleMBS)
- method Constructor(x as Double = 0.0, y as Double = 0.0)
- method cos as ComplexDoubleMBS
- method cosh as ComplexDoubleMBS
- method Divide(c as ComplexDoubleMBS)
- method Divide(x as Double)
- method exp as ComplexDoubleMBS
- method log as ComplexDoubleMBS
- method log10 as ComplexDoubleMBS
- method Multiply(c as ComplexDoubleMBS)
- method Multiply(x as Double)
- method norm as Double
- method Operator_Add(c as ComplexDoubleMBS) as ComplexDoubleMBS
- method Operator_Add(x as Double) as ComplexDoubleMBS
- method Operator_Compare(c as ComplexDoubleMBS) as Integer
- method Operator_Divide(c as ComplexDoubleMBS) as ComplexDoubleMBS
- method Operator_Divide(x as Double) as ComplexDoubleMBS
- method Operator_Multiply(c as ComplexDoubleMBS) as ComplexDoubleMBS
- method Operator_Multiply(x as Double) as ComplexDoubleMBS
- method Operator_Power(x as ComplexDoubleMBS) as ComplexDoubleMBS
- method Operator_Subtract(c as ComplexDoubleMBS) as ComplexDoubleMBS
- method Operator_Subtract(x as Double) as ComplexDoubleMBS
- method pow(x as ComplexDoubleMBS) as ComplexDoubleMBS
- method pow(x as Double) as ComplexDoubleMBS
- method sin as ComplexDoubleMBS
- method sinh as ComplexDoubleMBS
- method sqrt as ComplexDoubleMBS
- method str as string
- method Subtract(c as ComplexDoubleMBS)
- method Subtract(x as Double)
- method tan as ComplexDoubleMBS
- method tanh as ComplexDoubleMBS

- 3 shared methods

This class has no sub classes.

#### Some useful global functions for this class:

- FFTDoubleAbsMBS(x() as ComplexDoubleMBS, N as Integer = -1) as Double()
- FFTDoubleMBS(x() as ComplexDoubleMBS, N as Integer = -1) as ComplexDoubleMBS()
- FFTDoubleMBS(x() as Double, N as Integer = -1) as ComplexDoubleMBS()

The items on this page are in the following plugins: MBS DataTypes Plugin.

Links

MBS Xojo tutorial videos