Home
last modified time | relevance | path

Searched refs:maxM1 (Results 1 – 2 of 2) sorted by relevance

/external/eigen/test/
Darray_for_matrix.cpp184 Scalar maxM1 = m1.maxCoeff(); in cwise_min_max() local
188 VERIFY_IS_APPROX(m1, m1.cwiseMin(MatrixType::Constant(rows,cols, maxM1))); in cwise_min_max()
190 …ERIFY_IS_APPROX(MatrixType::Constant(rows,cols, maxM1), m1.cwiseMax(MatrixType::Constant(rows,cols… in cwise_min_max()
195 VERIFY_IS_APPROX(m1, m1.cwiseMin(maxM1)); in cwise_min_max()
199 VERIFY_IS_APPROX(MatrixType::Constant(rows,cols, maxM1), m1.cwiseMax( maxM1)); in cwise_min_max()
201 VERIFY_IS_APPROX(-m1, (-m1).cwiseMax(-maxM1)); in cwise_min_max()
202 VERIFY_IS_APPROX(-m1.array(), ((-m1).array().max)(-maxM1)); in cwise_min_max()
205 VERIFY_IS_APPROX(m1.array(), (m1.array().min)( maxM1)); in cwise_min_max()
207 VERIFY_IS_APPROX(MatrixType::Constant(rows,cols, maxM1).array(), (m1.array().max)( maxM1)); in cwise_min_max()
Darray.cpp436 Scalar maxM1 = m1.maxCoeff(); in min_max() local
440 VERIFY_IS_APPROX(m1, (m1.min)(ArrayType::Constant(rows,cols, maxM1))); in min_max()
442 …VERIFY_IS_APPROX(ArrayType::Constant(rows,cols, maxM1), (m1.max)(ArrayType::Constant(rows,cols, ma… in min_max()
447 VERIFY_IS_APPROX(m1, (m1.min)( maxM1)); in min_max()
449 VERIFY_IS_APPROX(ArrayType::Constant(rows,cols, maxM1), (m1.max)( maxM1)); in min_max()