Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to print tensor name only to string

Hi, I have a tensor ct = M.tensor_field(1,1, name='c'). Is there a way to just get the name of this tensor (c) out as a string? Thanks