Skip to content

QRResult

Module: strata.core • Kind: struct • Traits: Copyable, Movable
Source: strata/core/linalg.mojo

struct QRResult[dtype: DType = DType.float64](Copyable, Movable)
from strata.core import QRResult

Result of QR Decomposition (A=QRA = Q R).


def __init__(out self, var Q: Matrix[Self.dtype], var R: Matrix[Self.dtype])

Initialize a QRResult container.


Attribute Description
Q Orthogonal matrix of shape (M,K)(M, K).
R Upper triangular matrix of shape (K,N)(K, N).