circumradius

1.0.0 • Public • Published

circumradius

Computes the radius of the circumcircle of a simplex.

Example

var circumradius = require('circumradius')
var points = [[1, 0], [0,1], [1,1]]
console.log(circumradius(points))

Install

npm i circumradius

API

var rad = require('circumradius')(points)

Computes the radius of the circumcircle of the given simplex

  • points is a set of points describing the vertices of a simplex.

Returns The radius of the circumcircle of the simplex.

Notes This module is not robust

License

(c) 2015 Mikola Lysenko. MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    67,911
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    67,911

Package Sidebar

Install

npm i circumradius

Weekly Downloads

67,911

Version

1.0.0

License

MIT

Last publish

Collaborators

  • mikolalysenko