Pressio / pressio

core C++ library
Other
45 stars 7 forks source link

ops: tpetra: `min`/`max` implementation and tests #554

Closed mzuzek closed 1 year ago

mzuzek commented 1 year ago

refs #447

Overloads

Tpetra overloads of pressio::ops::min and pressio::ops::max:

function input remarks
min
max
Tpetra vector or multi-vector requires underlying scalar type to be known integral of floating-point type

Tests

Unit tests (in tests/functional_small/ops/):

file name test name tested type
ops_tpetra_vector.cc ops_tpetra.vector_min_max Tpetra::Vector<>
ops_tpetra_multi_vector.cc tpetraMultiVectorGlobSize15Fixture.multi_vector_min_max Tpetra::MultiVector<>