Skip to content

Strange eigenvalue #729

@rveltz

Description

@rveltz

Hi,

I am trying to get the spectrum of the following operator, it should be real negative but...

I am wondering if I am doing something wrong

using ApproxFun, LinearAlgebra
sol = Fun( X -> 0.0, Interval(-10.0, 10.0))
D = Derivative(sol.space, 2);
L1 = -I - 2D - D^2;
ApproxFun.eigs(Dirichlet(sol.space),L1-2I,100; tolerance = 1e-5)

gives

92-element Array{Complex{Float64},1}:
  -2.032800250240272 + 0.0im
  -2.004053699045951 - 0.4041140799101564im
  -2.004053699045951 + 0.40411407991015635im
  -2.366727744894575 + 0.0im
  -2.607891053151814 + 0.0im
  -2.791576558378409 + 0.0im
  -2.961489018882946 + 0.0im
 -3.1232270743384105 + 0.0im
   4.161842199302888 + 0.0im
    -4.5594165976354 + 0.0im
  -5.507851033473713 + 0.0im
 -12.381506648671865 + 0.0im
  13.298458875669132 + 0.0im
  -15.92506428457156 + 0.0im
 -28.008488707690706 + 0.0im
  -42.20133585945493 - 7.230886999195003im
 -42.201335859454936 + 7.230886999195003im
  -49.50513919128081 + 0.0im
  -92.45994637684655 + 0.0im
                     ⋮
  3067.6684441749544 + 709.7378828741976im
   4287.123993972118 + 0.0im
   4656.318955035678 + 0.0im
   6746.749676896203 + 0.0im
    7386.02040543896 + 0.0im
   10850.82308917364 + 0.0im
  11844.180136316863 + 0.0im
  17796.130834092044 + 0.0im
  19380.105512971324 + 0.0im
  30081.964227412103 + 0.0im
   32698.06214298154 + 0.0im
  53134.160137843304 + 0.0im
   57669.60736441608 + 0.0im
    99922.0088392208 + 0.0im
  108327.00882217327 + 0.0im
  205571.55994053124 + 0.0im
  222669.12343122496 + 0.0im
   482877.7424391819 + 0.0im
   522698.2906441737 + 0.0im

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions