AVEKNT:  compute the knot averages (Greville points) of a knot vector

 Calling Sequence:
 
   pts = aveknt (knt, p)
   pts = aveknt (nrb)
   
    INPUT:
   
      knt - knot sequence
      p   - spline order (degree + 1)
      nrb - NURBS structure (see nrbmak)
   
    OUTPUT:
   
      pts - average knots. If the input is a NURBS, it gives a cell-array,
        with the average knots in each direction
   
 See also: 

 Copyright (C) 2016 Rafael Vazquez

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

Package: nurbs