Replies: 5 comments 3 replies
-
Relatedly, I can see that there is an rst file for pyttb_utils and that it's included in the tensor_classes.rst, but I cannot see any of the functions documented anywhere. Any ideas how to fix this? I'm not super familiar with this documentation generator. |
Beta Was this translation helpful? Give feedback.
-
The index doesn't show tenones so it looks like we just generated the tensor class but not the supporting functions. https://pyttb.readthedocs.io/en/stable/genindex.html Right now our namespace hierarchy is very flat to try to mirror MATLAB but it makes the code layout more challenging. There are circular dependency issues with putting everything in the utils file (the tensors depend on the utils but tenones returns a tensor). Also right now most of the utils are more developer focused than user focused. |
Beta Was this translation helpful? Give feedback.
-
That helps to understand the choices. It sounds like it might be worth considering splitting the utilities into 2-3 parts.
|
Beta Was this translation helpful? Give feedback.
-
Yes, here is how I think tensor.rst should be changed:
Note that I've hidden some of the functions that are presumbly for developers only. I might suggest to prepend them with tt_. That's usually how we differentiated developer functions with tensor toolbox for MATLAB. |
Beta Was this translation helpful? Give feedback.
-
This was reported in #399 |
Beta Was this translation helpful? Give feedback.
-
I can't find tenones in the readthedocs documentation. (It's also a bit confusing to me that it's inside the tensor class file rather than in the utils one.) Relatedly, where are the utils documented?
Beta Was this translation helpful? Give feedback.
All reactions