Linear Algebra
Scalar × Vector
Scale a vector by a constant.
Formula
Formula
w = k·v
Variables
| Symbol | Definition | Type & range | Units | Role |
|---|---|---|---|---|
| k | scalar | real number (ℝ) | — | input |
| v | vector | list of real numbers | — | input |
Try it yourself
Interactive calculator
Worked examples
Example 1
Givenscalar k = 3, v = 1, -2, 4
Result[ 3, -6, 12 ]
Example 2
Givenscalar k = 0.5, v = 10, 20
Result[ 5, 10 ]