Author Topic: list equal list if statement  (Read 11967 times)

0 Members and 1 Guest are viewing this topic.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: list equal list if statement
« Reply #15 on: September 03, 2010, 06:57:44 pm »
I myself still dont understand how it works x.x its kinda weird

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: list equal list if statement
« Reply #16 on: September 03, 2010, 06:58:32 pm »
I don't even know what binomcdf does. Well, there are those who say it works, so I'll use it :)




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: list equal list if statement
« Reply #17 on: September 03, 2010, 07:12:58 pm »
Huh, maybe I'll look into it and try to explain it :) I know I've looked at it briefly but don't remember much. What do people use it for?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: list equal list if statement
« Reply #18 on: September 03, 2010, 07:20:10 pm »
It's to replace seq(I,1,X somehow.

EDIT: It's here.
« Last Edit: September 03, 2010, 07:22:17 pm by Deep Thought »




Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: list equal list if statement
« Reply #19 on: September 03, 2010, 07:23:31 pm »
I know that its actually a statistical tool, but i have no idea how it manages to replace seq() o.O

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: list equal list if statement
« Reply #20 on: September 03, 2010, 07:25:30 pm »
Ugh, I'm trying to get it, but all the broken HTML in DarkerLine's post is really getting annoying :P




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: list equal list if statement
« Reply #21 on: September 06, 2010, 10:08:34 pm »
Ya, I tried to read it too. I understood it but I've forgotten now. If I remember though, though I'll read it again later to help, most of the replacement is because it is just a faster routine. But I'd have to check back and make sure.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

_player1537

  • Guest
Re: list equal list if statement
« Reply #22 on: September 06, 2010, 11:02:58 pm »
Btw, I wrote a quick C# application that takes a webpage, and strips the stuff inside [ ], makes it soooo muucchhh easier to read, does anyone want me to post the non HTML filled text?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: list equal list if statement
« Reply #23 on: September 07, 2010, 12:13:26 am »
Mhmm that seems like a nice idea, it would make certain forum posts much easier to read

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: list equal list if statement
« Reply #24 on: September 07, 2010, 07:19:55 pm »
Okay, so as far as I can figure out, binomcdf(N,0 takes a probability (0 in this case) and somehow throws out a binomial list, and with 0, the list is N elements of 1, as in {1,1,1,.... Adding a cumSum( before it adds the ones to each total, resulting in {1,2,3,.... Somehow, it's faster than seq(I,I,1,N, probably because of all the floating-points used in the second :P




Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: list equal list if statement
« Reply #25 on: September 07, 2010, 07:22:38 pm »
Interesting...  And somehow you can use this for any combination of sequences?

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: list equal list if statement
« Reply #26 on: September 07, 2010, 07:30:22 pm »
No, I haven't had time to look into this yet but I remember this part. It doesn't work for all sequences, such as ones including lists. And although it should always be faster than a sequence that is replaced by this it is not always smaller.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: list equal list if statement
« Reply #27 on: September 07, 2010, 07:40:10 pm »
I think it's only used for a list of {1,2,3,....




Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: list equal list if statement
« Reply #28 on: September 07, 2010, 07:41:29 pm »
But i think if you were given a list like that, you could square it and get a polynomial list.  I think any linear list can be transformed into a function if you mess with it enough o.O

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: list equal list if statement
« Reply #29 on: September 07, 2010, 07:41:29 pm »
Well I meant for seq( commands that contain a list inside of them. Unless I understood Builder's question wrong.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)