# ee.Number.lanczos

Computes the Lanczos approximation of the input.

<br />

| Usage | Returns |
|---|---|
| `Number.lanczos()` | Number |

| Argument | Type | Details |
|---|---|---|
| this: `input` | Number | The input value. |

## Examples

### Code Editor (JavaScript)

```javascript
print('Lanczos approx. of -1', ee.Number(-1).lanczos());  // Infinity
print('Lanczos approx. of -0.9', ee.Number(-0.9).lanczos());  // 524.955196990
print('Lanczos approx. of 0', ee.Number(0).lanczos());  // 32.946318679
print('Lanczos approx. of 10', ee.Number(10).lanczos());  // 2.281783181
print('Lanczos approx. of 1e10', ee.Number(1e10).lanczos());  // 1.000000001
```
Python setup

See the [Python Environment](https://developers.google.com/earth-engine/guides/python_install) page for information on the Python API and using
`geemap` for interactive development.

```python
import ee
import geemap.core as geemap
```

### Colab (Python)

```python
display('Lanczos approx. of -1:', ee.Number(-1).lanczos())  # Infinity
display('Lanczos approx. of -0.9:',
        ee.Number(-0.9).lanczos())  # 524.955196990
display('Lanczos approx. of 0:', ee.Number(0).lanczos())  # 32.946318679
display('Lanczos approx. of 10:',
        ee.Number(10).lanczos())  # 2.281783181
display('Lanczos approx. of 1e10:',
        ee.Number(1e10).lanczos())  # 1.000000001
```