<!--
This file is generated by a tool. Do not edit directly.
For open-source contributions the docs will be updated automatically.
-->

*Last updated: 2023-03-16.*

<div itemscope itemtype="http://developers.google.com/ReferenceObject">
<meta itemprop="name" content="tf_quant_finance.math.pde.steppers.crank_nicolson.crank_nicolson_scheme" />
<meta itemprop="path" content="Stable" />
</div>

# tf_quant_finance.math.pde.steppers.crank_nicolson.crank_nicolson_scheme

<!-- Insert buttons and diff -->

<table class="tfo-notebook-buttons tfo-api" align="left">
</table>

<a target="_blank" href="https://github.com/paolodelia99/tf-quant-finance/blob/main/tf_quant_finance/math/pde/steppers/weighted_implicit_explicit.py">View source</a>



Constructs the time marching scheme.

```python
tf_quant_finance.math.pde.steppers.crank_nicolson.crank_nicolson_scheme(
    value_grid, t1, t2, equation_params_fn
)
```



<!-- Placeholder for "Used in" -->
