Skip to content

Add specification for returning the least-squares solution to a linear matrix equation (linalg: lstsq) #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
May 12, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reorder sentences
  • Loading branch information
kgryte committed Feb 16, 2021
commit 37e55589f350a7400a552b248d8d2c35e39a8e50
2 changes: 1 addition & 1 deletion spec/API_specification/linear_algebra_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Returns the least-squares solution to a linear matrix equation `Ax = b`.

- **tol**: _Optional\[ Union\[ float, <array> ] ]_

- cutoffs for small singular values. Singular values less than or equal to `tol * largest_singular_value` are set to zero. If a `float`, the value is equivalent to a zero-dimensional array having a data type determined by {ref}`type-promotion` rules and is broadcast against each matrix. Must be compatible with `shape(x)[:-2]` (see {ref}`broadcasting`). If `None`, the default value is `max(M, N) * eps`, where `eps` must be the floating-point epsilon associated with the data type determined by {ref}`type-promotion` rules. Default: `None`.
- cutoffs for small singular values. Singular values less than or equal to `tol * largest_singular_value` are set to zero. Must be compatible with `shape(x)[:-2]` (see {ref}`broadcasting`). If a `float`, the value is equivalent to a zero-dimensional array having a data type determined by {ref}`type-promotion` rules and is broadcast against each matrix. If `None`, the default value is `max(M, N) * eps`, where `eps` must be the floating-point epsilon associated with the data type determined by {ref}`type-promotion` rules. Default: `None`.

#### Returns

Expand Down