Description Usage Arguments Value Author(s) See Also Examples

Generates points on the curve of osculation between the centers of two families of ellipses

1 2 3 4 |

`center1` |
of first family of ellipses. |

`shape1` |
(i.e. 'variance matrix') of first family of ellipses. |

`center2` |
of second family. |

`shape2` |
of second family. |

`n` |
n + 1 is the number of points to generate along the locus. |

`range` |
of values of |

The set of points on the locus is retuned as an `n+1`

by `p`

matrix where `p`

is the
number of rows or columns of the shape matrices.

Georges Monette ([email protected])

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ```
v1 <- 36*diag(2)
v2 <- .5 * (diag(2) - .4)
v2[2,2] <- 2
plot( 0:10,0:10,type = 'n')
lines( ell( c(2,2), v1))
lines( ell( c(4,4), v2), col = 'red')
osculant( c(2,2), v1, c(4,4), v2, n = 3)
osculant( c(2,2), v1, c(4,4), v2, n = 1)
lines( osculant( c(2,2), v1, c(4,4), v2), col = 'red')
lines( ell( c(8,8), v2), col = 'blue')
lines( osculant( c(2,2), v1, c(8,8), v2), col = 'blue')
points( osculant( c(2,2), v1, c(8,8), v2, n=1),pch = 16, col = 'blue')
points( osculant( c(2,2), v1, c(8,8), v2, n=0),pch = 16, col = 'blue')
points( osculant( c(8,8), v2, c(2,2), v1, n=0),pch = 16, col = 'blue')
``` |

gmonette/spida documentation built on May 17, 2019, 7:25 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.