VectorSpace, Vector and VectorMutable.
More...
#include <AbstractLinAlgPack_VectorSpaceTester.hpp>
Public Member Functions | |
| void | print_all_tests (const bool &print_all_tests) |
Members for option print_all_tests() (see Teuchos_StandardMemberCompositionMacros.hpp). | |
| void | print_vectors (const bool &print_vectors) |
Members for option print_vectors() (see Teuchos_StandardMemberCompositionMacros.hpp). | |
| void | throw_exception (const bool &throw_exception) |
Members for option throw_exception() (see Teuchos_StandardMemberCompositionMacros.hpp). | |
| void | num_random_tests (const size_type &num_random_tests) |
Members for option num_random_tests() (see Teuchos_StandardMemberCompositionMacros.hpp). | |
| void | warning_tol (const value_type &warning_tol) |
Members for option () warning_tol(see Teuchos_StandardMemberCompositionMacros.hpp). | |
| void | error_tol (const value_type &error_tol) |
Members for option error_tol() (see Teuchos_StandardMemberCompositionMacros.hpp). | |
| VectorSpaceTester (bool print_all_tests=false, bool print_vectors=false, bool throw_exception=true, size_type num_random_tests=4, value_type warning_tol=1e-14, value_type error_tol=1e-10) | |
| Constructor (set default options). | |
| virtual | ~VectorSpaceTester () |
| | |
| virtual bool | check_vector_space (const VectorSpace &space, std::ostream *out) const |
| Run a vector space and the vectors it creates through a set of comprehensive tets. | |
VectorSpace, Vector and VectorMutable.
The purpose of this class is to test a VectorSpace object and the VectorMutable objects that it creates. The testing function check_vector_space() calls all of the methods defined in the interfaces VectorSpace, Vector and VectorMutable and checks many of the post conditions but not all. It would be very difficult to completely verify every postcondition in every situation.
The behavior of the testing function check_vector_space() is strongly influenced by a set of options (see VectorSpaceTester()).
When writting new vector implementations, a developer is likely to spend a lot of time debuggin while in this testing function.
Definition at line 54 of file AbstractLinAlgPack_VectorSpaceTester.hpp.
|
||||||||||||||||||||||||||||
|
Constructor (set default options). These default options are appropriate for even the largest vector spaces. Definition at line 52 of file AbstractLinAlgPack_VectorSpaceTester.cpp. |
|
|
Definition at line 102 of file AbstractLinAlgPack_VectorSpaceTester.hpp. |
|
|
Members for option
Definition at line 58 of file AbstractLinAlgPack_VectorSpaceTester.hpp. |
|
|
Members for option
Definition at line 63 of file AbstractLinAlgPack_VectorSpaceTester.hpp. |
|
|
Members for option
Definition at line 68 of file AbstractLinAlgPack_VectorSpaceTester.hpp. |
|
|
Members for option
Definition at line 73 of file AbstractLinAlgPack_VectorSpaceTester.hpp. |
|
|
Members for option
Definition at line 78 of file AbstractLinAlgPack_VectorSpaceTester.hpp. |
|
|
Members for option
Definition at line 83 of file AbstractLinAlgPack_VectorSpaceTester.hpp. |
|
||||||||||||
|
Run a vector space and the vectors it creates through a set of comprehensive tets.
VectorSpaceTester() for the default values for these options). Access functions to set these options are provided by the prototypes of the macro STANDARD_MEMBER_COMPOSITION_MEMBERS().
Definition at line 68 of file AbstractLinAlgPack_VectorSpaceTester.cpp. |
1.3.9.1