Published in


Dot Products with NumPy

Photo by Scott Webb on Unsplash


According to mathematicians, a dot product or scalar product is an operation that takes two equal-length sequence of numbers (aka vector) and returns a single number (aka scalar). The dot product of vector A with vector B is written symbolically as A • B.

Algebraically, it is the sum of the products of each entry of the sequence (aka elements of vectors). If you have not…




Everything connected with Tech & Code. Follow to join our 900K+ monthly readers

Recommended from Medium

API Test Automation with Rest Assured

Apache Spark Executor Memory Architecture

WOM Protocol Roadmap: 2022 and Beyond

What you need to know about Docker (First Part)

C+8 Apps Introduction | Understanding the GeoMap app

101 — Binary

How to Serve a Static HTML Page using Nginx in a Kubernetes Cluster

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Shen Ge

Shen Ge

Hosts #Houston #spaceradio show #SG2onSpace and writes #shengecreative. Interested in #spaceflight #nasa #art #poetry #spaceflight

More from Medium

3 Python Koans: One Line Riddles to Teach and Learn Python

Eratosthenes and the Size of Planet Earth

Comparing the Fast Fourier Transform with direct computation using Python