- function QRCompactWYQ{S}(factors::AbstractMatrix, T::AbstractMatrix) where {S}
- QRCompactWYQ(convert(AbstractMatrix{S}, factors), convert(Matrix{S}, T))
- end
- QRPackedQ{T}(Q::QRPackedQ) where {T} = QRPackedQ(convert(AbstractMatrix{T}, Q.factors), convert(Vector{T}, Q.τ))
- AbstractMatrix{T}(Q::QRPackedQ{T}) where {T} = Q
- AbstractMatrix{T}(Q::QRPackedQ) where {T} = QRPackedQ{T}(Q)
- QRCompactWYQ{S}(Q::QRCompactWYQ) where {S} = QRCompactWYQ(convert(AbstractMatrix{S}, Q.factors), convert(AbstractMatrix{S}, Q.T))
- AbstractMatrix{S}(Q::QRCompactWYQ{S}) where {S} = Q
- AbstractMatrix{S}(Q::QRCompactWYQ) where {S} = QRCompactWYQ{S}(Q)
- Matrix{T}(Q::AbstractQ{S}) where {T,S} = Matrix{T}(lmul!(Q, Matrix{S}(I, size(Q, 1), min(size(Q.factors)...))))
- Matrix(Q::AbstractQ{T}) where {T} = Matrix{T}(Q)
- Array{T}(Q::AbstractQ) where {T} = Matrix{T}(Q)
- Array(Q::AbstractQ) = Matrix(Q)
- size(F::Union{QR,QRCompactWY,QRPivoted}, dim::Integer) = size(getfield(F, :factors), dim)
- size(F::Union{QR,QRCompactWY,QRPivoted}) = size(getfield(F, :factors))
- size(Q::AbstractQ, dim::Integer) = size(getfield(Q, :factors), dim == 2 ? 1 : dim)
- size(Q::AbstractQ) = size(Q, 1), size(Q, 2)
- function getindex(Q::AbstractQ, i::Integer, j::Integer)