Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
bedf2161
Commit
bedf2161
authored
7 years ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
Silent warnings
parent
6c900181
No related branches found
No related tags found
1 merge request
!55
Fix #42 - HQR header installation
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/testing_zgeqrf_qdwh.c
+2
-6
2 additions, 6 deletions
testing/testing_zgeqrf_qdwh.c
testing/testing_zgesvd.c
+0
-1
0 additions, 1 deletion
testing/testing_zgesvd.c
with
2 additions
and
7 deletions
testing/testing_zgeqrf_qdwh.c
+
2
−
6
View file @
bedf2161
...
@@ -66,8 +66,7 @@ int testing_zgeqrf_qdwh(int argc, char **argv)
...
@@ -66,8 +66,7 @@ int testing_zgeqrf_qdwh(int argc, char **argv)
int
MxM
=
M
*
M
;
int
MxM
=
M
*
M
;
int
LDA
=
2
*
M
;
int
LDA
=
2
*
M
;
double
eps
;
double
eps
;
int
info_ortho
,
info_solution
,
info_factorization
;
int
info_ortho
,
info_factorization
;
int
i
,
j
;
/**
/**
* Compute A = QR with
* Compute A = QR with
...
@@ -169,7 +168,6 @@ check_orthogonality( int M, int N,
...
@@ -169,7 +168,6 @@ check_orthogonality( int M, int N,
double
alpha
,
beta
;
double
alpha
,
beta
;
double
normQ
;
double
normQ
;
int
info_ortho
;
int
info_ortho
;
int
i
;
int
minMN
=
min
(
M
,
N
);
int
minMN
=
min
(
M
,
N
);
double
*
work
=
(
double
*
)
malloc
(
minMN
*
sizeof
(
double
));
double
*
work
=
(
double
*
)
malloc
(
minMN
*
sizeof
(
double
));
...
@@ -219,13 +217,11 @@ check_factorization(int M, int N,
...
@@ -219,13 +217,11 @@ check_factorization(int M, int N,
double
eps
)
double
eps
)
{
{
double
Anorm
,
Rnorm
;
double
Anorm
,
Rnorm
;
MORSE_Complex64_t
alpha
,
beta
;
MORSE_Complex64_t
alpha
;
int
info_factorization
;
int
info_factorization
;
int
i
,
j
;
double
*
work
=
(
double
*
)
malloc
(
max
(
M
,
N
)
*
sizeof
(
double
));
double
*
work
=
(
double
*
)
malloc
(
max
(
M
,
N
)
*
sizeof
(
double
));
alpha
=
1
.
0
;
alpha
=
1
.
0
;
beta
=
0
.
0
;
if
(
M
>=
N
)
{
if
(
M
>=
N
)
{
/* Perform Q = Q * R */
/* Perform Q = Q * R */
...
...
This diff is collapsed.
Click to expand it.
testing/testing_zgesvd.c
+
0
−
1
View file @
bedf2161
...
@@ -260,7 +260,6 @@ static int check_reduction(int M, int N, double *S, MORSE_Complex64_t *A, int LD
...
@@ -260,7 +260,6 @@ static int check_reduction(int M, int N, double *S, MORSE_Complex64_t *A, int LD
{
{
MORSE_Complex64_t
zone
=
1
.
0
;
MORSE_Complex64_t
zone
=
1
.
0
;
MORSE_Complex64_t
mzone
=
-
1
.
0
;
MORSE_Complex64_t
mzone
=
-
1
.
0
;
MORSE_Complex64_t
zzero
=
0
.
0
;
double
Anorm
,
Rnorm
,
result
;
double
Anorm
,
Rnorm
,
result
;
int
info_reduction
;
int
info_reduction
;
int
i
;
int
i
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment