/ fm / liveswitch / MathAssistant
Class: MathAssistant
fm.liveswitch.MathAssistant
Table of contents
Constructors
Methods
- getTypeString
- abs
- acos
- asin
- atan
- atan2
- ceil
- cos
- cosh
- exp
- floor
- getE
- getPi
- log
- log10
- max
- min
- pow
- round
- sin
- sinh
- sqrt
- tan
- tanh
Constructors
constructor
+ new MathAssistant(): MathAssistant
Returns: MathAssistant
Methods
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:3
abs
▸ Static
abs(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:12
acos
▸ Static
acos(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:15
asin
▸ Static
asin(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:18
atan
▸ Static
atan(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:21
atan2
▸ Static
atan2(y
: number, x
: number): number
Parameters:
Name | Type |
---|---|
y |
number |
x |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:24
ceil
▸ Static
ceil(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:27
cos
▸ Static
cos(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:30
cosh
▸ Static
cosh(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:33
exp
▸ Static
exp(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:36
floor
▸ Static
floor(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:39
getE
▸ Static
getE(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:9
getPi
▸ Static
getPi(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:6
log
▸ Static
log(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:42
log10
▸ Static
log10(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:45
max
▸ Static
max(val1
: number, val2
: number): number
Parameters:
Name | Type |
---|---|
val1 |
number |
val2 |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:48
min
▸ Static
min(val1
: number, val2
: number): number
Parameters:
Name | Type |
---|---|
val1 |
number |
val2 |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:51
pow
▸ Static
pow(x
: number, y
: number): number
Parameters:
Name | Type |
---|---|
x |
number |
y |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:54
round
▸ Static
round(value
: number): number
Parameters:
Name | Type |
---|---|
value |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:57
sin
▸ Static
sin(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:60
sinh
▸ Static
sinh(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:63
sqrt
▸ Static
sqrt(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:66
tan
▸ Static
tan(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:69
tanh
▸ Static
tanh(val
: number): number
Parameters:
Name | Type |
---|---|
val |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MathAssistant.ts:72