Jump to content

Capturing Number of primities or points of a group in another node


Recommended Posts

As I said, you use the list of points in the group as an argument to argc() which counts the entries and gives you the number of them, aka number of points in the group. There is no direct expression that gives you the number of points in the group. Attached is an example.

Also, it's not possible to access other nodes local variables. Local variables are LOCAL and can only be accessed from that node, which is why you have to use an expression.

numpoints_in_group.hipnc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...