<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/experimental/fastgp/fast_log_det.py#L88-L149) |

Jacobian-Vector product for log_det.

#### View aliases


**Main aliases**

[`tfp.experimental.fastgp.fast_gp.fast_log_det.log_det_jvp`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/fastgp/fast_log_det/log_det_jvp), [`tfp.experimental.fastgp.fast_mtgp.fast_gp.fast_log_det.log_det_jvp`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/fastgp/fast_log_det/log_det_jvp), [`tfp.experimental.fastgp.fast_mtgp.fast_log_det.log_det_jvp`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/fastgp/fast_log_det/log_det_jvp)

<br />

    tfp.experimental.fastgp.fast_log_det.log_det_jvp(
        primals, tangents, f, num_iters
    )

This can be used to provide a jax.custom_jvp for a function with the
signature (matrix, preconditioner, probe_vectors, key,
\*optional_args, num_iters) -\> Float.

\[num_iters needs to be last in the signature because it needs to be
a non-diff argument of the custom.jvp, which means it isn't passed in
the primals and we need to put it back in here.\]

<br />

<br />

<br />

| ## Args ||
|---|---|
| `primals` | The arguments f was called with. |
| `tangents` | The differentials of the primals. |
| `f` | The log det function log_det_jvp is the custom.jvp of. |
| `num_iters` | The number of iterations to run conjugate gradients for. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The pair (f(primals), df). ||

<br />