INPUT P,R : arrays of coordinates of 2n segment endpoints (i.e., if there are n segments considered in p-dimensional Euclidean space, than P and R are n-by-p matrices); the sizes of P and R should...

c = closest(a,b); returns the closest c value in a for each value in b [c,i] = closest(a,b); returns the index i of the closest value in a for each value in b [c,i,d]...

list() will convert a tuple to a list, but any elements that are also tuples will stay as such. This utility function fully converts an arbitrary "tuple tree" to a same-structured list.

Given numbers of votes for a list of parties and a fixed total number of seats, the method of Sainte-LagudoTz allocates seats to each party. The article at http://en.wikipedia.org/wiki/Sainte-Lagu%C3%AB_method describes details of the method. The...

MailDeliver is a PHP script which permit to send emails,with attachments, to a list of addresses taken from a database by query and selected through checkboxes.

Mails can contains variables which should be substituted with the...

The wheeled mobile robot dynamics are studied from standard papers available on the topic and non-linear feedback linearlization is done to reduce the equations of motion to a second order dynamic equation of the error of position of the wheeled...

Provides a _paths_from_path_patterns that will generate a list of paths from a list of path patterns. A "path pattern" can include glob chars. By default it generates a recursive listing of file paths, but: recursion can be turned off,...