Platforms to show: All Mac Windows Linux Cross-Platform

### ComplexSingleMBS 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 ComplexSingleMBS(1,2)`

dim d as new ComplexSingleMBS(4,7)

dim sum as ComplexSingleMBS = c+d

MsgBox sum.str

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

- 3 shared methods

This class has no sub classes.

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

- FFTSingleAbsMBS(x() as ComplexSingleMBS, N as Integer = -1) as single()
- FFTSingleMBS(x() as ComplexSingleMBS, N as Integer = -1) as ComplexSingleMBS()
- FFTSingleMBS(x() as single, N as Integer = -1) as ComplexSingleMBS()

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

Links

MBS Xojo Plugins