Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/LinearAlgebra.cpp @ 166:4f661e2f7b6c wasm
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 22 Feb 2018 19:36:23 +0100 |
parents | 8d50e6be565d |
children | 7105e51e4907 |
comparison
equal
deleted
inserted
replaced
165:8d50e6be565d | 166:4f661e2f7b6c |
---|---|
665 boost::numeric::ublas::prod(k, k) / (1 + cosine)); | 665 boost::numeric::ublas::prod(k, k) / (1 + cosine)); |
666 #endif | 666 #endif |
667 } | 667 } |
668 | 668 |
669 | 669 |
670 Matrix InvertScaleTranslationMatrix(const Matrix& t) | 670 Matrix InvertScalingTranslationMatrix(const Matrix& t) |
671 { | 671 { |
672 if (t.size1() != 4 || | 672 if (t.size1() != 4 || |
673 t.size2() != 4 || | 673 t.size2() != 4 || |
674 !LinearAlgebra::IsCloseToZero(t(0,1)) || | 674 !LinearAlgebra::IsCloseToZero(t(0,1)) || |
675 !LinearAlgebra::IsCloseToZero(t(0,2)) || | 675 !LinearAlgebra::IsCloseToZero(t(0,2)) || |