Changes between Version 3 and Version 4 of Ticket #30373, comment 7


Ignore:
Timestamp:
01/21/21 18:06:44 (12 months ago)
Author:
gh-mjungmath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30373, comment 7

    v3 v4  
    77> - What about tensoring elements together? Right now the `tensor` function works on elements, although the documentation doesn't make this clear. I am happy for this to continue, but again, the syntax is different for `tensor([a,b,c])` vs. `a.tensor(b,c)`.
    88
    9 I like that behavior, too. However, it feels to me like this behavior was not intended and just works because the element provide a `tensor` method (that's probably why it's not mentioned in the documentation). From a mathematical-categorial viewpoint this behavior is anyway unexpected (functors usually do not act on objects of objects).
     9I like that behavior, too. However, it feels to me like this behavior was not intended and just works because the element provides a `tensor` method (that's probably why it's not mentioned in the documentation). From a mathematical-categorial viewpoint this behavior is anyway unexpected (functors usually do not act on objects of objects).
    1010
    1111If we want to promote this, which I would agree with, the syntax should indeed be the same.