Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

"Low-Level" QR Implementation #1366

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
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
Next Next commit
docfix -- qr to namespace linalg
bileschi committed Aug 28, 2018
commit bf8680938d25f05113cd5da3aafe38753e7aa12b
6 changes: 5 additions & 1 deletion src/ops/linalg_ops.ts
Original file line number Diff line number Diff line change
@@ -117,7 +117,11 @@ function gramSchmidt_(xs: Tensor1D[]|Tensor2D): Tensor1D[]|Tensor2D {
* - `R` has a shape of `[..., M, N]`.
* @throws If the rank of `x` is less than 2.
*/
/** @doc {heading: 'Operations', subheading: 'Linear Algebra'} */
/**
* @doc {heading:'Operations',
* subheading:'Linear Algebra',
* namespace:'linalg'}
*/
function qr_(x: Tensor, fullMatrices = false): [Tensor, Tensor] {
if (x.rank < 2) {
throw new Error(