Read a vector and its dot product
#A vector is an ordered collection of coordinates. The dot product multiplies corresponding coordinates and adds them.
Fragment
The vectors must have compatible dimensions.
Reference
Look up symbols, units, probability, vectors and engineering formulas.
Common mathematical and engineering notation, with domains, units and assumptions. Estimates and idealized models are labeled; check their assumptions against the system you are describing.
A vector is an ordered collection of coordinates. The dot product multiplies corresponding coordinates and adds them.
Fragment
The vectors must have compatible dimensions.
The Euclidean norm is the square root of the sum of squared coordinates. Cosine similarity compares direction for nonzero vectors.
Fragment
Cosine is undefined when either vector has zero norm. Similarity is not a probability.
A matrix-vector product maps an n-coordinate input to an m-coordinate output. Matrix multiplication requires matching inner dimensions.
Fragment
AB and BA generally differ; one may not even be defined.
A derivative is local rate of change. A gradient collects partial derivatives of a scalar function with respect to its coordinates.
Fragment
Gradient descent uses a step size η; this rule alone does not guarantee convergence.
Softmax turns finite real scores into positive weights summing to one. Subtracting the maximum score improves numerical stability without changing the mathematical result.
Fragment
These weights are not automatically calibrated probabilities about the world.
Transpose swaps rows and columns. The order of factors reverses when transposing a matrix product.
Fragment
For complex matrices, conjugate transpose A* or Aᴴ also conjugates entries; it is a different operation.
A limit describes a value approached as the input approaches a point. A definite integral accumulates signed contributions over an interval; for continuous rate functions, it gives total change.
Fragment
A function need not equal its limit at a point. Units multiply by the integration variable’s units.
Radians measure arc length divided by radius. A full turn is 2π radians. Standard calculus identities for sine/cosine assume radian inputs.
Fragment
Check degree/radian conventions when using a native math API.
Linear interpolation combines endpoints with a weight. Rescaling to [0,1] uses a nonzero range width; extrapolation occurs outside that interval.
Fragment
This formula does not clamp. Choose an explicit policy for equal endpoints and out-of-range inputs.