Home
last modified time | relevance | path

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

/external/eigen/test/
Darray_for_matrix.cpp156 Scalar maxM1 = m1.maxCoeff(); in cwise_min_max() local
160 VERIFY_IS_APPROX(m1, m1.cwiseMin(MatrixType::Constant(rows,cols, maxM1))); in cwise_min_max()
162 …ERIFY_IS_APPROX(MatrixType::Constant(rows,cols, maxM1), m1.cwiseMax(MatrixType::Constant(rows,cols… in cwise_min_max()
167 VERIFY_IS_APPROX(m1, m1.cwiseMin(maxM1)); in cwise_min_max()
171 VERIFY_IS_APPROX(MatrixType::Constant(rows,cols, maxM1), m1.cwiseMax( maxM1)); in cwise_min_max()
173 VERIFY_IS_APPROX(-m1, (-m1).cwiseMax(-maxM1)); in cwise_min_max()
174 VERIFY_IS_APPROX(-m1.array(), ((-m1).array().max)(-maxM1)); in cwise_min_max()
177 VERIFY_IS_APPROX(m1.array(), (m1.array().min)( maxM1)); in cwise_min_max()
179 VERIFY_IS_APPROX(MatrixType::Constant(rows,cols, maxM1).array(), (m1.array().max)( maxM1)); in cwise_min_max()
Darray.cpp249 Scalar maxM1 = m1.maxCoeff(); in min_max() local
253 VERIFY_IS_APPROX(m1, (m1.min)(ArrayType::Constant(rows,cols, maxM1))); in min_max()
255 …VERIFY_IS_APPROX(ArrayType::Constant(rows,cols, maxM1), (m1.max)(ArrayType::Constant(rows,cols, ma… in min_max()
260 VERIFY_IS_APPROX(m1, (m1.min)( maxM1)); in min_max()
262 VERIFY_IS_APPROX(ArrayType::Constant(rows,cols, maxM1), (m1.max)( maxM1)); in min_max()