LOWPASS Forumla

More
08 Jul 2018 07:01 #113793 by rodw
Replied by rodw on topic LOWPASS Forumla
but unless you know what e is or what exp does, a user still can't replicate the formula. It still needs more detail in the docs.

Please Log in or Create an account to join the conversation.

More
09 Jul 2018 19:18 #113886 by BigJohnT
Replied by BigJohnT on topic LOWPASS Forumla

but unless you know what e is or what exp does, a user still can't replicate the formula. It still needs more detail in the docs.


I'll take care of this when I'm done with the holiday. Seb has cherry picked the addition to 2.7 so it should show up in the on line documents in a while and I'll expand the example with more information so a non math person can calculate it in the morning. Then the addition will get pushed to master.

JT
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

More
10 Jul 2018 16:29 #113954 by BigJohnT
Replied by BigJohnT on topic LOWPASS Forumla
Ok the documents have been updated and are online.

linuxcnc.org/docs/2.7/html/man/man9/lowpass.9.html

JT

Please Log in or Create an account to join the conversation.

More
10 Jul 2018 23:42 #113981 by rodw
Replied by rodw on topic LOWPASS Forumla
John, looks great thanks. Appreciate your help.

Its little things like these that increase traffic on the forum as users don't have the info they need to implement a feature of Linuxcnc.

Please Log in or Create an account to join the conversation.

More
11 Jul 2018 01:10 #113988 by phillc54
Replied by phillc54 on topic LOWPASS Forumla
Python 2.7.13 on my Stretch machine does use ** for the power operator

phill@stretch:~$ python
Python 2.7.13 (default, Nov 24 2017, 17:33:09)
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 6**2
36
>>> 6.001**2
36.012001000000005

Please Log in or Create an account to join the conversation.

More
11 Jul 2018 01:20 #113991 by rodw
Replied by rodw on topic LOWPASS Forumla
or
>>> pow(6.001,2)
36.012001000000005

Please Log in or Create an account to join the conversation.

More
11 Jul 2018 01:33 #113992 by phillc54
Replied by phillc54 on topic LOWPASS Forumla
It was in reference to "The two languages this project use are C and Python. Neither use **." from post #113764

Please Log in or Create an account to join the conversation.

More
12 Jul 2018 15:13 #114067 by GeneRF
Replied by GeneRF on topic LOWPASS Forumla
Fortran has always used ** for exponentiation. That does not make it right or wrong for linuxcnc, but it is not just something that Sinclair or any other bit player invented.

Fortran is no longer well known by mere mortals, but it is still very important for supercomputing.

Please Log in or Create an account to join the conversation.

Moderators: HansU
Time to create page: 0.508 seconds
Powered by Kunena Forum