Message Boards Message Boards

0
|
5578 Views
|
1 Reply
|
2 Total Likes
View groups...
Share
Share this post:

Avoid nonatomic expression error message?

Posted 5 years ago
POSTED BY: Robert Russell

Use RuleDelayed instead of Rule:

In[236]:= 2 CI[{{2,2}}]+2 CI[{{1,2},{2,1}}]/.CI[l_]:>j^(Total[l][[2]])
POSTED BY: Robert Nachbar
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract