Closed mzuzek closed 1 year ago
refs #523
Eigen elementwise_multiply has one overload which requires the underlying scalar type to be the same for T, T1 and T2 and to be known integral of floating-point type:
elementwise_multiply
T
T1
T2
elementwise_multiply(const alpha_t & alpha, const T & x, const T1 & z, const beta_t & beta, T2 & y)
alpha_t
beta_t
Unit tests (in tests/functional_small/ops/):
tests/functional_small/ops/
ops_eigen_vector.cc
ops_eigen.vector_elementwiseMultiply
Eigen::VectorXd
ops_eigen_diag.cc
ops_eigen.diag_elementwiseMultiply
pressio::diag( Eigen::MatrixXd )
ops_eigen_span.cc
ops_eigen.span_elementwiseMultiply
pressio::span( Eigen::VectorXd )
refs #523
Overloads
Eigen
elementwise_multiply
has one overload which requires the underlying scalar type to be the same forT
,T1
andT2
and to be known integral of floating-point type:T
,T1
,T2
● all must have same underlying scalar type
alpha_t
,beta_t
Tests
Unit tests (in
tests/functional_small/ops/
):ops_eigen_vector.cc
ops_eigen.vector_elementwiseMultiply
Eigen::VectorXd
ops_eigen_diag.cc
ops_eigen.diag_elementwiseMultiply
pressio::diag( Eigen::MatrixXd )
ops_eigen_span.cc
ops_eigen.span_elementwiseMultiply
pressio::span( Eigen::VectorXd )