Note that if you want to use a random variable ``d`` that will not be updated through scan loops, you should pass this variable as a ``non_sequences`` arguments.
Note that if you want to use a random variable ``d`` that will not be updated through scan loops, you should pass this variable as a ``non_sequences`` arguments.
**Scan Example: Computing pow(A,k)**
**Scan Example: Computing pow(A,k)**
.. code-block:: python
.. code-block:: python
...
@@ -290,7 +290,7 @@ Note that if you want to use a random variable ``d`` that will not be updated th
...
@@ -290,7 +290,7 @@ Note that if you want to use a random variable ``d`` that will not be updated th
power = theano.function(inputs=[A, k], outputs=final_result,
power = theano.function(inputs=[A, k], outputs=final_result,