Search: | |||||

| ||||

Home » Forum » C++ Programming | RSS Feeds |

Hello,

I want to solve the Ax=b matrix equation with 1 n x n matrix (with n x n meaning the matrix can be of any size) and 1 vector of size n (n being any size) as input files in C++ with iterative methods. For example if I had these data input files:

Matrix1.dat (the "A")

3

1.1 2.2 3.3

4.4 5.5 6.6

7.7 8.8 9.9

Vector2.dat (the "b")

3

2.1 3.2 4.3

With the first number at the top of the text file representing the unknowns, how would I make a c++ program read the two sets of files and then use an iterative method, such as the Jacobi iterative method, to solve Ax=b?

Didn't find what you were looking for?
Find more on Iteration to Solve Ax=b With Input Matrix
Or get search suggestion and latest updates.

Related Topics:

- parallel matrix multiplication using multi-threading
- Matrix and pattern programs in PHP
- matrix operations
- matrix
- read a matrix of size 5x5,
- sparse matrix and linked lists
- how to print a matrix into File.
- About array matrix function
- About the Matrix size when use minverse function
- PRINTING DATA IN MATRIX FORMAT
- Spearman Rank Correlation Matrix
- Strassen`s Matrix Multiplication algorithm
- Web Matrix & MS Access
- Design Pattern matrix
- quantization matrix in JPEG codec
- matrix multiplication
- matrix
- Sparse Matrix Multiplication
- Average of numbers ; matrix
- matrix
- inverse of matrix.
- How to solve it?
- need array based code to solve this polynomial
- Help required to solve one problem related to javax.swing.JTable
- Can you solve part of the problem of below question