AnimaL |
Tutorial |
Documentation |
#include <vectorVec.h>
Inheritance diagram for animal::VectorVec< Vec >:
Allows one to overload some linear algebra methods. Such a class can be used, for example, to gather particle positions or velocities (each of them being a 3d vector) in a single state vector. To work on such structures, some methods such as implicit euler integration require overloading basic linear methods. Currently only the methods necessary for conjugate gradient solution are overloaded:
Definition at line 22 of file vectorVec.h.
Public Member Functions | |
VectorVec () | |
Default constructor does nothing. | |
VectorVec (std::size_t s) | |
Vector of given size. | |
VectorVec (std::size_t s, Vec v) | |
Vector of given size initialized with given entry. |
|
Default constructor does nothing.
Definition at line 26 of file vectorVec.h. |
|
Vector of given size.
Definition at line 29 of file vectorVec.h. |
|
Vector of given size initialized with given entry.
Definition at line 34 of file vectorVec.h. |