# Math¶

## Math Functions¶

### BinCoe¶

```function BinCoe(a, b: LongInt): Extended
```

### Cot¶

```function Cot(e: Extended): Extended
```

### CotH¶

```function CotH(e: Extended): Extended
```

### Csc¶

```function Csc(e: Extended): Extended
```

### CscH¶

```function CscH(e: Extended): Extended
```

### DecEx¶

```procedure DecEx(var x: Integer; Decrease: Integer)
```

### DecRet¶

```function DecRet(e: Extended): Extended
```

### Degrees¶

```function Degrees(e: Extended): Extended
```

### DiscreteGauss¶

```function DiscreteGauss(Xstart, Xend: Integer; Sigma: Extended): TExtendedArray
```

### Distance¶

```function Distance(xs, ys, xe, ye: Integer): Integer
```

### Factorial¶

```function Factorial(number: LongWord): Int64
```

### FixD¶

```function FixD(Degrees: Extended): Extended
```

```function FixRad(rad: Extended): Extended
```

### GaussMatrix¶

```function GaussMatrix(N: Integer; Sigma: Extended): T2DExtendedArray
```

### InAbstractBox¶

```function InAbstractBox(xs, ys, xe, ye, x3, y3, x4, y4: Integer; x, y: Integer): Boolean
```

### IncEx¶

```procedure IncEx(var x: Integer; increase: Integer)
```

### InRange¶

```function InRange(const value, min, max: Integer): Boolean
```

### IntInBox¶

```function IntInBox(x, y: Integer; Box: TBox): Boolean
```

### IntToBox¶

```function IntToBox(xs, ys, xe, ye: Integer): TBox
```

### IntToHex¶

```function IntToHex(number: Integer): string
```

### IntToHex¶

```function IntToHex(number: Integer): string; overload
```

### log10¶

```function log10(f: Extended): Extended
```

### logn¶

```function logn(base, x: Extended): Extended
```

### MaxA¶

```function MaxA(a: TIntegerArray): Integer
```

### MaxE¶

```function MaxE(a, b: Extended): Extended
```

### MiddleBox¶

```function MiddleBox(b: TBox): TPoint
```

### MinA¶

```function MinA(a: TIntegerArray): Integer
```

### MinE¶

```function MinE(a, b: Extended): Extended
```

### Point¶

```function Point(x, y: Integer): TPoint
```

### PointInBox¶

```function PointInBox(PT: TPoint; Box: TBox): Boolean
```

### PointToBox¶

```function PointToBox(PT1, PT2: TPoint): TBox
```

### Pow¶

```function pow(base, exponent: Extended): Extended
```

```function radians(e: Extended): Extended
```

### RandomE¶

```function RandomE: Extended
```

### RandomRange¶

```function RandomRange(const aFrom, aTo: Integer): Integer
```

### RiemannGauss¶

```function RiemannGauss(Xstart, StepSize, Sigma: Extended; AmountSteps: Integer): Extended
```

### rol¶

```function rol(num: LongWord; shift: Byte): LongWord
```

### ror¶

```function ror(num: LongWord; shift: Byte): LongWord
```

### sar¶

```function sar(AValue: LongInt; shift: Byte): LongInt
```

### Sec¶

```function Sec(e: Extended): Extended
```

### SecH¶

```function SecH(e: Extended): Extended
```

### Sum64IntArr¶

```function Sum64IntArr(const Arr: TIntegerArray): Int64
```