Gabriel Brown

Results 15 issues of Gabriel Brown

### Summary While trying/learning to write a tree-sitter parser for Chapel, I managed to accidentally construct a grammar that runs through the `generate` phase quickly, but hangs during `parse` (while...

bug
parser-generation

The following code ```python from sympy.tensor.array.expressions import ArraySymbol a = ArraySymbol('a',(2,)) b = ArraySymbol('b',(2,)) print((a+b)[0]) ``` gives the error ``` Traceback (most recent call last): File "", line 4, in...

First, just wanted to say great job and thank you. I was hoping something exactly like this existed, and so far it is working beautifully and doing just what I...

**Describe the bug** Compiling PROGRESS with most recent gfortran compiler (gcc 11.0.0) results in a compiler error (as in the compiler itself breaks). I recognize that this is very likely...

This PR adds the `vis` method to ktensor objects. The syntax and options are very similar to the [TTB equivalent](https://gitlab.com/tensors/tensor_toolbox/-/blob/dev/@ktensor/viz.m?ref_type=heads). An example showing parity with TTB for [this example](https://www.tensortoolbox.org/cp_als_doc.html): ![image](https://github.com/sandialabs/pyttb/assets/26174146/2e7a647c-211a-46db-b833-ff0ba18e790d)...

While trying to fork and edit pyttb, I faced errors manifesting as pyttb importing modules/classes/functions in a manner inconsistent with `__init__.py`. Ultimately, I believe this is due to issues with...

Like many other users, I use Zathura as my PDF viewer for LaTeX writing, so Zathura has the PDF open when I rebuild the PDF. Since my latest update via...

bug

`typing_extensions` is used in [ktensor.py](https://github.com/sandialabs/pyttb/blob/ebd5069e63326d21c169b9b0254599de58f121d2/pyttb/ktensor.py#L25), so it needs to be a standard dependency of `pyttb`. A minimal virtual environment with just pyttb fails to `import pyttb` because of this. I...

bug
doing

This PR adds the `vis` method to the ktensor class. The syntax and options are very similar to the [TTB equivalent](https://gitlab.com/tensors/tensor_toolbox/-/blob/dev/@ktensor/viz.m?ref_type=heads). An example showing parity with TTB for [this example](https://www.tensortoolbox.org/cp_als_doc.html):...

An argument called `optdims` of type `List[int]` is added to `cp_als()` to enable optimizing only the factor matrices of specific modes. This was not previously possible even by scripting around...