Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zouzias authored Nov 2, 2021
1 parent 19e1d00 commit 01eaaf4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ The above code runs a simple instance of least-squares for a gaussian random mat
## Usage

```c++

using namespace Eigen;

unsigned int m= 100, n = 10;

Matrix<double, Dynamic, Dynamic> A(m, n);
RowVector xopt(n);

xopt.setRandom();
A.setRandom();

RowVector b = A * xopt;

auto solver = rek::Solver();
Expand All @@ -47,9 +47,6 @@ RowVector residual = x - xopt;
std::cout << "Least Squares error: " << residual.norm() << std::endl;
```
## Bugs
Please report bugs by opening a new [issue](https://github.com/zouzias/REK-CPP/issues/new).
### Implementation Details
REK-CPP is an implementation of REK with two additional technical features. First, REK-CPP utilizes level-1 BLAS routines for
all operations of REK and second REK-CPP additionally stores explicitly the transpose of A for more efficient
Expand Down

0 comments on commit 01eaaf4

Please sign in to comment.