#18349: One-fold tensor products: fix repr and document the behavior
---------------------------------------+------------------------
       Reporter:  elixyre              |        Owner:
           Type:  defect               |       Status:  new
       Priority:  major                |    Milestone:  sage-6.7
      Component:  categories           |   Resolution:
       Keywords:  tensor, categories   |    Merged in:
        Authors:  Jean-Baptiste Priez  |    Reviewers:
Report Upstream:  N/A                  |  Work issues:
         Branch:                       |       Commit:
   Dependencies:                       |     Stopgaps:
---------------------------------------+------------------------

Comment (by elixyre):

 Thanks, it seems clear to me now.

 Replying to [comment:2 nthiery]:
 > Would you have a suggestion for a good repr in this case?

 I don't have any opinion, may be:
 {{{
 sage: h = Sym(QQ).h()
 sage: tensor([h])
 Tensor:[Symmetric Functions over Rational Field in the homogeneous basis]
 }}}
 ?

 Replying to [comment:2 nthiery]:
 > We also probably want to highlight the above behavior in the
 > documentation of `tensor?`.

 May be...

 In this way, I have an other stupid question, when we have a tensor
 product:

 {{{
 sage: S = NCSF(QQ).S()
 sage: t = tensor([h, S])
 }}}

 There is a friendly way to recover `h` and `S` from `t`?

--
Ticket URL: <http://trac.sagemath.org/ticket/18349#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to