Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
da026884
Commit
da026884
authored
Jul 13, 2010
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improved accuracy of the matrix determinant and matrix inversion functions (trac #431)
parent
fa917882
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
lapack.cpp
modules/core/src/lapack.cpp
+0
-0
amath.cpp
tests/cxcore/src/amath.cpp
+4
-4
No files found.
modules/core/src/lapack.cpp
View file @
da026884
This diff is collapsed.
Click to expand it.
tests/cxcore/src/amath.cpp
View file @
da026884
...
...
@@ -2420,7 +2420,7 @@ void CxCore_DetTest::prepare_to_validation( int )
*
((
CvScalar
*
)(
test_mat
[
REF_OUTPUT
][
0
].
data
.
db
))
=
cvRealScalar
(
cvTsLU
(
&
test_mat
[
TEMP
][
0
],
0
,
0
));
}
//
CxCore_DetTest det_test;
CxCore_DetTest
det_test
;
...
...
@@ -2475,8 +2475,8 @@ void CxCore_InvertTest::get_test_array_types_and_sizes( int test_case_idx, CvSiz
if
(
bits
&
4
)
{
sizes
[
INPUT
][
0
]
=
cvSize
(
min_size
,
min_size
);
if
(
bits
&
8
)
method
=
CV_
SVD_SYM
;
if
(
bits
&
16
)
method
=
CV_
CHOLESKY
;
}
}
else
...
...
@@ -2536,7 +2536,7 @@ int CxCore_InvertTest::prepare_test_case( int test_case_idx )
{
cvTsFloodWithZeros
(
&
test_mat
[
INPUT
][
0
],
ts
->
get_rng
()
);
if
(
method
==
CV_
SVD_SYM
)
if
(
method
==
CV_
CHOLESKY
)
{
cvTsGEMM
(
&
test_mat
[
INPUT
][
0
],
&
test_mat
[
INPUT
][
0
],
1.
,
0
,
0.
,
&
test_mat
[
TEMP
][
0
],
CV_GEMM_B_T
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment