JSPM

circumradius

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 24621
  • Score
    100M100P100Q133895F
  • License MIT

Computes the circum radius of a simplex

Package Exports

  • circumradius

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (circumradius) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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