Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
83f4fe10
Commit
83f4fe10
authored
Aug 18, 2014
by
BRAMAS Berenger
Browse files
Add a division method
parent
38091310
Changes
1
Hide whitespace changes
Inline
Side-by-side
Src/Utils/FComplexe.hpp
View file @
83f4fe10
...
...
@@ -179,6 +179,13 @@ public:
return
*
this
;
}
/** Mul a complexe by another "c*=c2" */
FComplexe
&
operator
/=
(
const
FReal
&
real
){
this
->
complex
[
0
]
/=
real
;
this
->
complex
[
1
]
/=
real
;
return
*
this
;
}
/** Test if a complex is not a number */
bool
isNan
()
const
{
return
FMath
::
IsNan
(
complex
[
1
])
||
FMath
::
IsNan
(
complex
[
0
]);
...
...
Write
Preview
Supports
Markdown
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