Vector-Vector operations (Dot product)

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

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

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

    Great explanation and interaction with the classroom! Thank you very much!

  • @shivammehta9661
    @shivammehta9661 2 года назад +1

    I have a doubt, dot is a shared variable so I don't think the program will produce the required output as there will be race condition involved, If somebody could clear this, that would be very greatful

    • @gunjankumar1943
      @gunjankumar1943 2 года назад +3

      Yeah. reduction(+:dot) should be put up as a clause for the code to work.

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

    Interesting