curvature | R Documentation |
Curvature Calculation Calculate the curvature of a parametric curve
curvature(alpha, t)
alpha |
A vector of expressions defining the curve |
t |
Evaluation parameter |
alpha must be a vector of parametric expressions with param 't'
Scalar value Curvature of alpha at time t
Leyton Taylor
kAlpha <- curvature(c(expression(1+.5*cos(t),1+.1*sin(t),-1)), 1) dataSet= matrix(c(expression(1+.5*cos(t),1+.1*sin(t),sin(t))), nrow=1,ncol=3,byrow=TRUE) alphaN=dataSet[1,] kAlpha<-curvature(alphaN,1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.