Loading...

Scalar Multiplication

Multiplying every entry of a vector or matrix by the same scalar.

When to use: Any per-element rescaling: learning rates, attention temperatures, KL weights.

Example: 3 · [1, 2, 4] = [3, 6, 12]. Each gradient step computes 0.01 · gradient.

More Linear Algebra Glossary terms