stan-dev / stanc3

The Stan transpiler (from Stan to C++ and beyond).
BSD 3-Clause "New" or "Revised" License
140 stars 44 forks source link

Expose additional complex signatures #1212

Closed WardBrian closed 2 years ago

WardBrian commented 2 years ago

This depends on https://github.com/stan-dev/math/pull/2753 and https://github.com/stan-dev/math/pull/2754

Submission Checklist

Release notes

Added signatures for addition, subtraction and division which mix scalars and complex vector types, broadcasting the scalar as appropriate.

Added svd_U, svd_V, singular_values, eigenvalues_sym, and eigenvectors_sym for complex inputs

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)

WardBrian commented 2 years ago

@rok-cesnovar - just added more signatures for elt_multiply and divide, re-review?

rok-cesnovar commented 2 years ago

All good!