removed Matrix.cpp cause of it's useless
made typedef for typename vector<vector<CUSTOM_TYPE> >::iterator
and named it RowsIterator; also have made replaces with this typedef
found non logic variable columns_iterator; in setColumnsNumber() method,
renamed it to rows_iterator
added definition for operator*()
added test case for operator*() with only one value
(it's name is ValueIs2 at MatrixMultiplyWithOneValue test)
moved operator<<() out of class
moved operator* (with Matrix), operator+(), operator-(), operator==() out of class
added constructor for converting from std::vector to Matrix
added case ValueIsOneAndHalf to MatrixMultiplyWithOneValue test
added case AllCases to test MatrixIsMultiplyPossible
renamed case AllCases at test MatrixIsMultiplyPossible to
AllCasesWithVector
added case ConstructorFromVectorOf5Elements to test MatrixConstructor
changed name of parameter element_values to elements in constructor
- Added typedef for vector<CUSTOM_TYPE>::const_iterator.
It's called VectorConstIterator;
- changed name of parameter element_values to elements in method
setElementsFromVector();
- changed variable name of vector_iterator to elements_iterator;
- changed parameter's name for vector_iterator to current_element_iterator;
- used typedef VectorConstIterator here.
addde method isMultiplyPossibleWith()
added test case AllCasesWithVector from test MatrixIsMultiplyPossible
to friends
moved operator*() for one value out of class
fixed case ConstructorFromVectorWithMatrix0x0 from test MatrixConstructor:
now it tests right constructor
moved back operators where first operand's type is Matrix to class body