Python Forum
semantic error log function
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
semantic error log function
#12
I guarantee you that the first time xx shows is when I set it to a0.
However I am trying to make a0 a list, so if you are aware of a way to do that
without using xx, please share, as I have tried before but I got a float object error
(see previous comments).

In order for you to have a better Idea of what I am trying to do,
I will write again the iteration formulas I am trying to accomplish
with this code:

the first 6 lines of my code are totally correct, and the code right after is based on it.

Now we have cc_sub(0,i)=a0
cc_sub(k,i)=( cc_sub(k-1,i)-4^(-k)*cc_sub(k-1,i-1) )/(1 - 4^(-k))

I want cc to be dependent on line 5-6 and not 3-4.
I transformed a0 into a list because the new a0 (cc) has two iteration characters (k,i)
as you can see from the formula.

we can forget about xx and not use it at all if is easier for you to explain without
this variable, but please let me know how my code should change in order to accomplish the
iteration above written.
(again, the first 6 lines should be left untouched, because they are correct)

Let me please know if there is any further clarification you want to request.
Reply


Messages In This Thread
semantic error log function - by mcgrim - Apr-23-2019, 12:54 PM
RE: semantic error log function - by ichabod801 - Apr-23-2019, 01:45 PM
RE: semantic error log function - by mcgrim - Apr-23-2019, 06:16 PM
RE: semantic error log function - by ichabod801 - Apr-23-2019, 06:58 PM
RE: semantic error log function - by mcgrim - Apr-23-2019, 07:12 PM
RE: semantic error log function - by ichabod801 - Apr-23-2019, 07:24 PM
RE: semantic error log function - by mcgrim - Apr-23-2019, 07:29 PM
RE: semantic error log function - by buran - Apr-24-2019, 08:32 AM
RE: semantic error log function - by mcgrim - Apr-24-2019, 08:34 AM
RE: semantic error log function - by buran - Apr-24-2019, 08:50 AM
RE: semantic error log function - by mcgrim - Apr-24-2019, 09:07 AM
RE: semantic error log function - by buran - Apr-24-2019, 09:11 AM
RE: semantic error log function - by mcgrim - Apr-24-2019, 09:14 AM
RE: semantic error log function - by mcgrim - Apr-24-2019, 11:26 AM
RE: semantic error log function - by buran - Apr-24-2019, 11:35 AM
RE: semantic error log function - by mcgrim - Apr-24-2019, 11:39 AM
RE: semantic error log function - by buran - Apr-24-2019, 11:43 AM
RE: semantic error log function - by mcgrim - Apr-24-2019, 11:50 AM
RE: semantic error log function - by buran - Apr-24-2019, 06:34 PM
RE: semantic error log function - by mcgrim - Apr-24-2019, 07:53 PM
RE: semantic error log function - by buran - Apr-24-2019, 08:07 PM
RE: semantic error log function - by mcgrim - Apr-24-2019, 08:17 PM
RE: semantic error log function - by buran - Apr-24-2019, 08:36 PM
RE: semantic error log function - by mcgrim - Apr-24-2019, 08:43 PM
RE: semantic error log function - by buran - Apr-25-2019, 07:56 AM
RE: semantic error log function - by mcgrim - Apr-29-2019, 09:32 PM
invalid index to scalar variable - by mcgrim - Apr-24-2019, 08:22 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020