Add support for M and/or N equals 1 to matrix pseudo-inverse
Description
Adds support for M and/or N equals 1 to matrix pseudo-inverse function. Also updates the tests and benchmarks to include these cases.
Checklist
-
Contribution meets RAL's licence terms - [N/A] New functions adhere to RAL's naming scheme
-
Contribution conforms to RAL's directory structure -
Documentation updated -
clang-format
andclang-tidy
run and changes included (C/C++ code) - [N/A]
flake8
run and changes included (Python code) -
Tests added or updated -
Tests pass when run with AddressSanitizer -
Benchmarks added or updated