cholesky
fun DoubleTensorAlgebra.cholesky(structureND: StructureND<Double>, epsilon: Double = 1.0E-6): DoubleTensor(source)
QR decomposition.
Computes the QR decomposition of a matrix or a batch of matrices, and returns a pair Q to R
of tensors. Given a tensor input
, return tensors Q to R
satisfying input == Q dot R
, with Q
being an orthogonal matrix or batch of orthogonal matrices and R
being an upper triangular matrix or batch of upper triangular matrices.
Receiver
the input
.
Return
a pair of Q
and R
tensors.
Parameters
epsilon
the permissible error when comparing tensors for equality. The default is 1e-6 Used when checking the positive definiteness of the input matrix or matrices.