numere-org / NumeRe

Framework for numerical computations, data analysis and visualisation
https://www.numere.org
GNU General Public License v3.0
20 stars 7 forks source link

Matrix functions should be usable as scalar inputs for other matrix functions #167

Closed numeredev closed 8 months ago

numeredev commented 11 months ago

DESCRIPTION

Is your change request related to a problem? Please describe. It's tedious, if we have to split up calculations into multiple expressions only because it is not possible to use a scalar return value of a matrix function as input for another matrix function.

Describe the solution you'd like Make it possible to use scalar return values of matrix functions as inputs for scalar matrix function arguments.

Describe possible alternatives you've considered A clear and concise description of any alternative solutions or features you've considered, if any.

Additional context Add any other context or screenshots about the feature request here.

(Do not write below this line)


DEVS' SECTION

ANALYSIS

This should be implementable by simply considering the trailing arguments as a matrix expression as well and then to use the returned matrix to extract the necessary number of arguments fo the scalar inputs.

IMPLEMENTATION STEPS

(see also our Wiki for implementation guidelines)

DOCUMENTATION STEPS

(see also our Wiki for further information)

PULL REQUEST