# core.HasDefaultLink

``` python
core.HasDefaultLink()
```

The link a likelihood uses when `Linearized` has `link=None`.

`Categorical` and `Gaussian`, and their subclasses, keep their own links.

## Methods

| Name | Description |
|----|----|
| [default_link](#laplacekit.core.HasDefaultLink.default_link) | The link to use for this likelihood. |

### default_link

``` python
core.HasDefaultLink.default_link(n_samples, /)
```

The link to use for this likelihood.

#### Parameters

| Name | Type | Description | Default |
|----|----|----|----|
| n_samples | int \| Literal\['exact'\] | The resolved `Linearized.n_samples`: `"exact"` for an exact output covariance, an int for a `SampleCov` with that many draws. An `MC` link must not ask for more. | *required* |

#### Returns

| Name | Type       | Description                             |
|------|------------|-----------------------------------------|
|      | LinkApprox | A link that `supports` this likelihood. |
