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
Click For Summary

Discussion Overview

The discussion revolves around the implementation of LU decomposition in Java without the use of linear algebra libraries. Participants explore the challenges faced by the original poster, who expresses difficulty with linear algebra concepts and seeks guidance or resources for coding this algorithm.

Discussion Character

  • Homework-related, Technical explanation

Main Points Raised

  • The original poster requests pseudo-code or resources for implementing LU decomposition in Java, indicating a lack of understanding of linear algebra.
  • One participant questions the appropriateness of the section for this topic, suggesting it may not belong in the current forum.
  • Another participant clarifies that LU decomposition is inherently a linear algebra problem and points to available algorithms on Wikipedia.
  • A participant provides a link to a resource that contains example software related to linear algebra.
  • The original poster later clarifies that they meant to refer to linear algebra libraries or packages, not linear algebra itself.

Areas of Agreement / Disagreement

There appears to be no consensus on the appropriateness of the forum section for the original poster's question, and participants express differing views on the clarity of the request and the resources available.

Contextual Notes

The discussion highlights the original poster's uncertainty regarding linear algebra concepts and the specific requirements for their programming task. There are no resolved mathematical steps or definitions provided in the conversation.

Who May Find This Useful

This discussion may be useful for individuals seeking to understand LU decomposition, those looking for programming resources in Java, or students struggling with linear algebra concepts.

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.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 5 ·
Replies
5
Views
2K