Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Krylov.m

Language: Layout:
+ ] Show input
Absolute running time: 0.54 sec, cpu time: 0.88 sec, memory peak: 29 Mb, absolute service time: 0,55 sec 
edit mode |  history  | discussion
Error(s), warning(s):
error: Invalid call to eig.  Correct usage is:

 -- Built-in Function: LAMBDA = eig (A)
 -- Built-in Function: LAMBDA = eig (A, B)
 -- Built-in Function: [V, LAMBDA] = eig (A)
 -- Built-in Function: [V, LAMBDA] = eig (A, B)
error: called from
    print_usage at line 90 column 5
    source_file_rextester.m at line 31 column 8
resid =

   8.7611e-01   2.3333e-01   4.1780e-02   4.6472e-03

xm =

  -3.7271e+00
   4.4943e+01
  -8.5429e+01
  -3.5649e+01
   9.8221e+01

A*xm
   9.9997e-01
   1.0005e+00
   9.9764e-01
   1.0036e+00
   9.9825e-01
bicgstab converged at iteration 9 to a solution with relative residual 7.235942e-14
xm =

   5.0000e+00
  -1.2000e+02
   6.3000e+02
  -1.1200e+03
   6.3000e+02

res =    1.9844e-13
   1.0000e+00
   1.0000e+00
   1.0000e+00
   1.0000e+00
   1.0000e+00
ans =

   5.0000e+00   5.0000e+00


    
                
λ
.NET NoSQL database for rapid development