diff options
author | Bryn Keller <xoltar@xoltar.org> | 2017-01-30 18:12:18 -0800 |
---|---|---|
committer | Bryn Keller <xoltar@xoltar.org> | 2017-01-30 18:12:18 -0800 |
commit | 5485d57c5632c54c5c377a17672b88357c6455db (patch) | |
tree | 668379dd8f6fef6844b81630106f7efcf9706c00 /python/src/simple_example.py | |
parent | 872ca92b33ebe92dff2542cbdee6768e575e80aa (diff) |
Use default representation for example rather than vector_vector
Diffstat (limited to 'python/src/simple_example.py')
-rw-r--r-- | python/src/simple_example.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/src/simple_example.py b/python/src/simple_example.py index 955e213..7aa6214 100644 --- a/python/src/simple_example.py +++ b/python/src/simple_example.py @@ -21,8 +21,10 @@ if __name__ == "__main__": import phat - # define a boundary matrix with the chosen internal representation - boundary_matrix = phat.boundary_matrix(representation = phat.representations.vector_vector) + boundary_matrix = phat.boundary_matrix() + + # or define a boundary matrix with the chosen internal representation + # boundary_matrix = phat.boundary_matrix(representation = phat.representations.bit_tree_pivot_column) # set the respective columns -- (dimension, boundary) pairs boundary_matrix.columns = [ (0, []), |