--[=[
	Returns the magnitude of the linear value.

	@return number -- The magnitude of the linear value.
]=]

function LinearValue:GetMagnitude()
	local dot = 0
	for i=1, #self._values do
		local value = self._values[i]
		dot = dot + value*value
	end
	return math.sqrt(dot)
end
