#include <small_matrix.hpp>
Inheritance diagram for small_vector< T >:


Public Member Functions | |
| small_vector () | |
| Basic constructor. | |
| small_vector (int the_m, T *the_entries) | |
| Creates a small vector. | |
| small_vector (int the_m, T &first_entry) | |
| Creates a small vector. | |
| small_vector< T > & | operator= (small_matrix< T > &src) |
| Assignment operator. | |
| small_vector< T > & | operator= (T *seg) |
| Copying the entries from a memory segment. | |
| void | print_maple (std::ostream &s) const |
| Prints the vector in the Maple form. | |
| small_vector< T >::small_vector | ( | ) | [inline] |
Basic constructor.
Dummy objects are allowed.
| small_vector< T >::small_vector | ( | int | the_m, | |
| T * | the_entries | |||
| ) | [inline] |
Creates a small vector.
| [in] | the_m | The size. |
| [in] | the_entries | The array of entries. |
| small_vector< T >::small_vector | ( | int | the_m, | |
| T & | first_entry | |||
| ) | [inline] |
Creates a small vector.
The same but with T & instead of T *
| [in] | the_m | The size. |
| [in] | first_entry | Reference of the first entry. |
| small_vector<T>& small_vector< T >::operator= | ( | small_matrix< T > & | src | ) | [inline] |
Assignment operator.
Merely copies the entries of the source vector to the entries of the destination vector. The vectors should have the same size.
| [in] | src | The source-vector. |
| small_vector<T>& small_vector< T >::operator= | ( | T * | seg | ) | [inline] |
Copying the entries from a memory segment.
Merely copies n * m values starting from a given pointer to the 'entry' array.
| [in] | seg | Memory segment to copy. |
| void small_vector< T >::print_maple | ( | std::ostream & | s | ) | const |
Prints the vector in the Maple form.
| [in] | s | The ostream to print to. |
Reimplemented from small_matrix< T >.
1.5.2