# Module: tf_agents.bandits.policies.linalg

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/bandits/policies/linalg.py) |

Utility code for linear algebra functions.

## Functions

[`conjugate_gradient(...)`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/bandits/policies/linalg/conjugate_gradient): Returns `X` such that `A * X = B`.

[`simplified_woodbury_update(...)`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/bandits/policies/linalg/simplified_woodbury_update): Returns `w` such that `inverse(a + u.T.dot(u)) = a_inv + w`.

[`update_inverse(...)`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/bandits/policies/linalg/update_inverse): Updates the inverse using the Woodbury matrix identity.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| absolute_import | Instance of `__future__._Feature` |
| division | Instance of `__future__._Feature` |
| print_function | Instance of `__future__._Feature` |

<br />