Loading...

Scalar

A single number with no direction, used to scale vectors and matrices.

When to use: Any single-value quantity: learning rate, temperature, regularization weight, loss value.

Example: np.array(3.5) is a 0-D scalar. lr · gradient is scalar-vector multiplication.

More Linear Algebra Glossary terms