How to solve linear equation systems in Java? [on hold]

44
June 13, 2019, at 4:10 PM

I am developing a solver for truss systems (for mechanical and civil engineers). In this software, I need a linear equation solver.

Below linear equation system (K*X=F) is little different than equation systems that we know. In classical eqaution systems, all of the elements of X matrice are unknown and all of the elements of F matrice are known. However, in my case, some elements of X matrice (x3 and x4) are unknown and some of them are known (12 and 0). This is also valid for F matrice too. Are there any code written in Java libraries or developed by you for this situation?

     ( K        *     X     =    F )
| 1  2  3  42|      | 12 |     | F1 |
| 65 26 35 98|  *   |  0 |  =  | F2 |
| 13 35 95 65|      | x3 |     |  0 |
| 12 65 98 99|      | x4 |     |  0 |
READ ALSO
How to split list

How to split list

I've got an ArrayList which is filled from input file line by lineOne line is one index here, so I need to split that by words because I dont want that

16
@AfterClass method don't finish the testcase

@AfterClass method don't finish the testcase

I'm testing my databseI'm using the @BeforeClass method to delete everything in my databasetable then inserting some data

19
Android.graphics.rect - always null

Android.graphics.rect - always null

I want to write some tests for my Android project - and I‘m trying to instantiate a Rect()-Object in a JUnit test - but I’m always getting a null instead of the objectHere some examples:

33
Issue with parsing LocalDate to Date in Java [duplicate]

Issue with parsing LocalDate to Date in Java [duplicate]

This question already has an answer here:

44