Pressio / pressio

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

ops: teuchos: revise `scale` #557

Closed mzuzek closed 1 year ago

mzuzek commented 1 year ago

refs #445

Overloads

Teuchos overloads of pressio::ops::scale:

function input remarks
scale Teuchos 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_teuchos_vector.cc ops_teuchos.vector_scale Teuchos::SerialDenseVector<int, double>
mzuzek commented 1 year ago

@fnrizzi thank you for the review!