tests
master
test
@@ -361,2 +791,2 @@
Type determinant(bool * ok = 0) const {
PIMathMatrix(const uint cols = 0, const uint rows = 0, const Type &f = Type()) { _V2D::resize(rows, cols, f); }
Документация и тесты для конструкторов
@@ -363,0 +824,4 @@
}
/**
* @brief Creates a matrix whose row equal to vector
Подробное описание
@@ -363,0 +841,4 @@
* @brief Set the selected column in matrix
*
уточнить, Размер вектора должен соотвествовать размеру матрицы
@@ -363,0 +853,4 @@
* @brief Set the selected row in matrix
см
@@ -363,0 +864,4 @@
* @brief Method which changes selected rows in a matrix
исправить
@@ -363,0 +920,4 @@
* @return true if matrix is null, else false
*/
bool isNull() const {
переименовать в isZeroFilled
@@ -363,0 +949,4 @@
* @param sm matrix for the compare
* @return if matrices are equal true, else false
bool operator==(const _CMatrix &sm) const {
добавить сравнение размера матриц
@@ -363,0 +1051,4 @@
* @brief Determinant of the matrix is calculated
параметр (bool *ok = 0) не документирован
@@ -428,0 +1134,4 @@
* @return inverted matrix
_CMatrix &invert(bool *ok = 0, _CMCol *sv = 0) {
разобраться с _CMCol *sv = 0
@@ -498,3 +1245,4 @@
/// Multiply matrices {CR x Rows0} on {Cols1 x CR}, result is {Cols1 x Rows0}
Отформатировать и дополнить документацию
@@ -18,2 +4,2 @@
else
{
template<typename Type>
bool cmpSquareMatrixWithValue(PIMathMatrix<double> matrix, Type val, int num) {
Если уж делаете шаблонную функцию то должно быть тогда PIMathMatrix, иначе нафига вам вообще шаблоны тут?
No dependencies set.
The note is not visible to the blocked user.
test
@@ -361,2 +791,2 @@Type determinant(bool * ok = 0) const {PIMathMatrix(const uint cols = 0, const uint rows = 0, const Type &f = Type()) { _V2D::resize(rows, cols, f); }Документация и тесты для конструкторов
@@ -363,0 +824,4 @@}/*** @brief Creates a matrix whose row equal to vectorПодробное описание
@@ -363,0 +841,4 @@/*** @brief Set the selected column in matrix*уточнить, Размер вектора должен соотвествовать размеру матрицы
@@ -363,0 +853,4 @@/*** @brief Set the selected row in matrix*см
@@ -363,0 +864,4 @@}/*** @brief Method which changes selected rows in a matrixисправить
@@ -363,0 +920,4 @@** @return true if matrix is null, else false*/bool isNull() const {переименовать в isZeroFilled
@@ -363,0 +949,4 @@* @param sm matrix for the compare* @return if matrices are equal true, else false*/bool operator==(const _CMatrix &sm) const {добавить сравнение размера матриц
@@ -363,0 +1051,4 @@/*** @brief Determinant of the matrix is calculated*параметр (bool *ok = 0) не документирован
@@ -428,0 +1134,4 @@** @return inverted matrix*/_CMatrix &invert(bool *ok = 0, _CMCol *sv = 0) {разобраться с _CMCol *sv = 0
@@ -498,3 +1245,4 @@}/// Multiply matrices {CR x Rows0} on {Cols1 x CR}, result is {Cols1 x Rows0}Отформатировать и дополнить документацию
@@ -18,2 +4,2 @@else{template<typename Type>bool cmpSquareMatrixWithValue(PIMathMatrix<double> matrix, Type val, int num) {Если уж делаете шаблонную функцию то должно быть тогда PIMathMatrix, иначе нафига вам вообще шаблоны тут?