Skip to content

Commit

Permalink
Tweak input docs to be more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmgray committed Oct 21, 2018
1 parent 8c885b6 commit 4476a8e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/source/input_format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,17 @@ followed by the array arguments:
>>> z.shape
(5, 2)
The main difference is that thousands of symbols in the form of unicode
characters can be used:
However, in addition to the standard alphabet, ``opt_einsum`` also supports
unicode characters:

.. code:: python
>>> eq = "αβγ,βγδ->δα"
>>> oe.contract(eq, x, y).shape
(5, 2)
One way to access these programmatically is through the function
This enables access to thousands of possible index labels. One way to access
these programmatically is through the function
:func:`~opt_einsum.parser.get_symbol`:

>>> oe.get_symbol(805)
Expand Down

0 comments on commit 4476a8e

Please sign in to comment.