Skip to content

Commit 3c3d748

Browse files
committed
Update README.md
1 parent 74e5ec6 commit 3c3d748

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Eigen/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# `Eigen/Dense`
22

3+
| **BLAS Function** | **P1673 Function** | **Description** |
4+
| --- | --- | --- |
5+
| DSCAL | `scale` | Multiplication of a vector **v** by a scalar **α** |
6+
| DCOPY | `copy` | Copy a vector to another vector |
7+
| DAXPY | `add` | Calculates **αx + y**, vectors **x** & **y**, scalar **α** |
8+
| DDOT | `dot` | Dot (inner) product of two vectors |
9+
| DNRM2 | `vector_norm2` | Euclidean norm of a vector |
10+
| DGEMV | `matrix_vector_product` | Calculates **αA**x + **βy**, matrix **A**, vector **y**, scalars **α** & **β** |
11+
| DSYMV | `symmetric_matrix_vector_product` | Same as `matrix_vector_product` but where **A** is symmetric |
12+
| DGEMM | `matrix_product` | Calculates **αAB + βC**, for matrices **A**, **B**, & **C**, and scalars **α** & **β** |
13+
314
```cpp
415
#include <algorithm>
516
#include <random>
@@ -17,4 +28,4 @@ std::cout << "Max: " << *max_u << std::endl;
1728
u2 = u2.unaryExpr([](double x) { return x * x; });
1829
// std::experimental::linalg::matrix_vector_product
1930
// std::experimental::linalg::dot
20-
```
31+
```

0 commit comments

Comments
 (0)