Linear Systems and Sparse Matrices with Numpy and Scipy

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 17

  • @saifk3034
    @saifk3034 Месяц назад +1

    Brilliant. Extremely useful video - thanks

  • @atchutram9894
    @atchutram9894 4 года назад +4

    I appreciate your work. I think you should print your intermediate results (or a portion of large matrices) and help viewers understanding it well.

  • @somteezle1348
    @somteezle1348 4 года назад +3

    Thanks. I think you should create a playlist for numerical methods

  • @mojtabasardarmehni453
    @mojtabasardarmehni453 4 года назад +4

    Good job, very good video. Thanks

  • @radyoalmikyel6881
    @radyoalmikyel6881 4 года назад +3

    i used this to find same result x = scipy.sparse.linalg.spsolve(A_sparse, y)

  • @minma02262
    @minma02262 4 года назад +1

    I want to like your videos more than once. Unfortunately I can't.

  • @AJ-et3vf
    @AJ-et3vf 3 года назад

    Thank you very much for this. Very helpful

  • @chuckk4107
    @chuckk4107 5 лет назад +2

    Thanks

  • @blazeraz7666
    @blazeraz7666 4 года назад +2

    Do sparse matrices support indexing 1

    • @kpmooney
      @kpmooney  4 года назад +2

      Python indexes from zero. MATLAB /Octave indexes from one.

  • @0mon0zz
    @0mon0zz 3 года назад +1

    Good vid! But what about solving a system of non-linear equations that have large sparse matrices?

    • @kpmooney
      @kpmooney  3 года назад +1

      fsolve can handle nonlinear equations. You can use sparse matrices, but I think internally, it coverts them to dense so I don't know if you'll get a speed increase using sparse.

    • @AJ-et3vf
      @AJ-et3vf 2 года назад +1

      SciPy's root function can use the Krylov method for large systems of linear or nonlinear equations.

  • @hardikkharel3519
    @hardikkharel3519 3 года назад +1

    I don't have juypter notebook so whaaat?

    • @kpmooney
      @kpmooney  3 года назад +1

      Jupyter is free. Or just copy and paste the code into a text editor.