Author Topic: Rref Algorithm  (Read 9813 times)

0 Members and 1 Guest are viewing this topic.

Offline vanchagreen

  • LV2 Member (Next: 40)
  • **
  • Posts: 21
  • Rating: +0/-0
    • View Profile
Rref Algorithm
« on: August 15, 2010, 08:46:07 pm »
I'm not sure if this is the right category, but here it goes...

I was wondering if anyone knew what algorithm the calculator uses in its ref() and rref() matrix functions?

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Rref Algorithm
« Reply #1 on: August 15, 2010, 09:02:06 pm »
I'm guessing they use Gaussian Elimination
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Rref Algorithm
« Reply #2 on: August 15, 2010, 09:11:06 pm »
RREF stands for Row Reduced Echelon Form, and Here is a good tutorial on how to do it, and gives a good use for it.

edit: and if you're very familiar with matrix operations and terminology, here's a more advanced article.
« Last Edit: August 15, 2010, 09:17:03 pm by nemo »


Offline vanchagreen

  • LV2 Member (Next: 40)
  • **
  • Posts: 21
  • Rating: +0/-0
    • View Profile
Re: Rref Algorithm
« Reply #3 on: August 15, 2010, 09:33:16 pm »
@Quigibo: I'll look into it. Even if the calc doesn't use it, it looks interesting.

@nemo: When I was learning how to do it over the summer for a summer packet (school started last week...), I came across that same youtube tutorial. It _is_ good. The other one's a little over my head though. :)

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Rref Algorithm
« Reply #4 on: January 15, 2012, 08:47:20 pm »
How would you do an rref in z80?

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Rref Algorithm
« Reply #5 on: January 15, 2012, 08:56:46 pm »
You would use either floating point numbers (recommended) and regular gaussian elimination algorithms or you could use the division-free variants if you had arbitrary precision integer operations available. I'd recommend obtaining a copy of "Algorithms for Computer Algebra" by Geddes et al. if you want an in depth explanation.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ