You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
g
h
i
j
l
m
n
o
p
q
r
s
t
u
Functions
a
b
c
d
e
g
h
i
j
l
m
n
o
q
r
s
t
u
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Typedefs
c
d
e
f
i
n
r
t
y
Enumerations
Related Symbols
Files
File List
File Members
All
Functions
Macros
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
integration
testsuite
legendreTest.hh
1
8
#ifndef legendreTest_hh
9
#define legendreTest_hh
10
11
#include "
basics/typedefs.hh
"
12
#include "
basics/testcase.hh
"
13
14
namespace
test
{
15
16
// ********************************************************** LegendreTest **
17
21
class
LegendreTest
:
public
TestCase
{
22
public
:
23
virtual
~LegendreTest
() {}
24
virtual
void
run
();
25
26
void
testConstructor();
27
28
/* Computed Legendre Polynomials up to degree 3 are tested
29
* with the (known) monomials respresantation. The interval
30
* they are tested on is [-1,2].
31
*
32
*/
33
void
testPolynomials();
35
private
:
36
void
testFunction_(
const
concepts::Real
* f, uint n,
37
const
concepts::Real
* x,
const
char
* formula);
38
};
21
class
LegendreTest
:
public
TestCase
{
…
};
39
40
}
// namespace test
41
42
#endif
// legendreTest_hh
test::LegendreTest
Definition
legendreTest.hh:21
test::LegendreTest::run
virtual void run()
Runs the tests. Must be overwritten by the specialization.
test::TestCase
Definition
testcase.hh:92
concepts::Real
double Real
Definition
typedefs.hh:39
test
Definition
testcase.hh:66
testcase.hh
typedefs.hh
Generated on Wed Sep 13 2023 21:06:22 for Concepts by
1.9.8