Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
28213e6f
Commit
28213e6f
authored
Jul 17, 2012
by
Matthias Messner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use blas to compute scalar product
parent
b0252c07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
Src/Kernels/Chebyshev/FChebM2LHandler.hpp
Src/Kernels/Chebyshev/FChebM2LHandler.hpp
+1
-4
No files found.
Src/Kernels/Chebyshev/FChebM2LHandler.hpp
View file @
28213e6f
...
...
@@ -442,10 +442,7 @@ unsigned int getRank(const FReal singular_values[], const double eps)
unsigned
int
getRank
(
const
FReal
singular_values
[],
const
unsigned
int
size
,
const
double
eps
)
{
FReal
nrm2
(
0.
);
for
(
unsigned
int
k
=
0
;
k
<
size
;
++
k
)
nrm2
+=
singular_values
[
k
]
*
singular_values
[
k
];
const
FReal
nrm2
=
FBlas
::
scpr
(
size
,
singular_values
,
singular_values
);
FReal
nrm2k
(
0.
);
for
(
unsigned
int
k
=
size
;
k
>
0
;
--
k
)
{
nrm2k
+=
singular_values
[
k
-
1
]
*
singular_values
[
k
-
1
];
...
...
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