Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote

Is there a way to access the weight of an object?

I've figured out that I can do

X::Weight(label=dimension,value=2);
Weight.get($X$,label=dimension);

to determine that the Weight attribute has been set. But is there a way to find out that X has weight 2?

in General questions by (1.0k points)

Please log in or register to answer this question.

...