#Operator overloading

1 messages · Page 1 of 1 (latest)

outer saffronBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

slow dune
#

T_o template argument is for dealing with double/int/float cases, but the rest of these functions are for the same class arithmetic operation
there is a way how i could do it easier?

slow dune
#

the operators with this signature should add/subtract/multiply/divide all elements of a list (m_parameters is an array<T_p,s_p>)
but operators with this signature const Parameters<s_o, T_o>& other should add/subtract one list from another (add and subtract in a numerical point of view, like in python np.array