Searched refs:maxM1 (Results 1 – 2 of 2) sorted by relevance
/external/eigen/test/ |
D | array_for_matrix.cpp | 155 Scalar maxM1 = m1.maxCoeff(); in cwise_min_max() local 159 VERIFY_IS_APPROX(m1, m1.cwiseMin(MatrixType::Constant(rows,cols, maxM1))); in cwise_min_max() 161 …ERIFY_IS_APPROX(MatrixType::Constant(rows,cols, maxM1), m1.cwiseMax(MatrixType::Constant(rows,cols… in cwise_min_max() 166 VERIFY_IS_APPROX(m1, m1.cwiseMin(maxM1)); in cwise_min_max() 170 VERIFY_IS_APPROX(MatrixType::Constant(rows,cols, maxM1), m1.cwiseMax( maxM1)); in cwise_min_max() 172 VERIFY_IS_APPROX(-m1, (-m1).cwiseMax(-maxM1)); in cwise_min_max() 173 VERIFY_IS_APPROX(-m1.array(), ((-m1).array().max)(-maxM1)); in cwise_min_max() 176 VERIFY_IS_APPROX(m1.array(), (m1.array().min)( maxM1)); in cwise_min_max() 178 VERIFY_IS_APPROX(MatrixType::Constant(rows,cols, maxM1).array(), (m1.array().max)( maxM1)); in cwise_min_max()
|
D | array.cpp | 247 Scalar maxM1 = m1.maxCoeff(); in min_max() local 251 VERIFY_IS_APPROX(m1, (m1.min)(ArrayType::Constant(rows,cols, maxM1))); in min_max() 253 …VERIFY_IS_APPROX(ArrayType::Constant(rows,cols, maxM1), (m1.max)(ArrayType::Constant(rows,cols, ma… in min_max() 258 VERIFY_IS_APPROX(m1, (m1.min)( maxM1)); in min_max() 260 VERIFY_IS_APPROX(ArrayType::Constant(rows,cols, maxM1), (m1.max)( maxM1)); in min_max()
|