# lerp

[**@qbead/bloch-sphere**](https://qbead.gitbook.io/bloch-sphere/index)

***

[@qbead/bloch-sphere](https://qbead.gitbook.io/bloch-sphere/index) / lerp

## Function: lerp()

> **lerp**(`a`, `b`, `t`): `number`

Defined in: [src/math/interpolation.ts:7](https://github.com/qbead/bloch-sphere/blob/41247d60e67bd802cc21854379a06362e5d0957c/src/math/interpolation.ts#L7)

Standard linear interpolation function

### Parameters

| Parameter | Type     |
| --------- | -------- |
| `a`       | `number` |
| `b`       | `number` |
| `t`       | `number` |

### Returns

`number`
