Mercurial > hg > orthanc-stone
diff Framework/Toolbox/LinearAlgebra.h @ 1002:341e68752354
dot product
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 20 Sep 2019 12:00:04 +0200 |
parents | 32eaf4929b08 |
children | 2d8ab34c8c91 |
line wrap: on
line diff
--- a/Framework/Toolbox/LinearAlgebra.h Fri Sep 20 11:59:54 2019 +0200 +++ b/Framework/Toolbox/LinearAlgebra.h Fri Sep 20 12:00:04 2019 +0200 @@ -162,7 +162,9 @@ void CrossProduct(Vector& result, const Vector& u, const Vector& v); - + + double DotProduct(const Vector& u, const Vector& v); + void FillMatrix(Matrix& target, size_t rows, size_t columns,