Scalar derivatives and scalar asymptotic derivatives: properties and some applications