powered by
krylov(A,b,m)
A<-matrix(rnorm(8*8),ncol=8) b<-rnorm(8) K<-krylov(A,b,4)
Run the code above in your browser using DataLab