Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

- « Previous
- Next »

11-29-2017 01:44 PM - edited 11-29-2017 01:56 PM

Options

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

@BArtzon wrote:

How would you do that?

Simple: I would not use the formula node. It is pointless. 😄

The factorial function is not available directly, but is well defined, so you can roll your own. What is giving you problems? Note that I don't use the factorial function, because we need the intermediary results anyway. No need for these duplicate operations. Try to do a literal translation of my code into text instead.

(You also only need to do the calculation whenever one of the controls changes, and not millions of times per second as you currently do)

11-29-2017 02:00 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Thanks for the feedback.

11-29-2017 03:47 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

I know how to do n! but (2*n+1) is a little hard? Can anyone help me?

Thank you!

11-29-2017 04:07 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

11-29-2017 04:21 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Because I want to do it other way. With formula. I am trying but I am going nowhere.

11-29-2017 07:04 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

So, you are talking about a text based loop?

(That would belong in the subject line!)

We are all graphical programmers here and have no interest in that. 🙂

- « Previous
- Next »