Learn LU Decomposition in Java: No Linear Algebra Libraries Required

  • Context: Comp Sci 
  • Thread starter Thread starter RyMi
  • Start date Start date
  • Tags Tags
    Decomposition Java
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 6K views
RyMi
Messages
7
Reaction score
0
I need to write a program utilizing LU decomposition of a matrix in Java without using any linear algebra libraries so I was wondering if anyone can give me some pseudo-code or a link or something. I know you're supposed to post your attempt, but I literally have no idea what I'm doing. This is way past my capabilities. I'm horrible in linear algebra. Any help will be greatly appreciated.
 
Physics news on Phys.org
Wrong section mate. :-\
 
Well it's actually for my calc 3 class and I thought someone over here might have more knowledge on the subject.
 
Well okay.

When you say you can't use linear algebra what do you mean?
LU decomposition is a linear algebra problem and there are algorithms for finding the matrices on wiki. :-$
 
This looks helpful.

Thank you, Electrician
 
Oh I'm dumb. I meant to say linear algebra libraries/packages.

Sorry.