# circumcenter

> Computes circumcenters of simplices

Latest version **1.0.0** (published 2014-06-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install circumcenter
pnpm add circumcenter
yarn add circumcenter
bun add circumcenter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2014-06-02 |
| First published | 2013-03-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Mikola Lysenko |
| Maintainers | mikolalysenko |
| Keywords | simplex, circumcenter, triangle, geometry, math |

## Links

- npm: https://www.npmjs.com/package/circumcenter
- Repository: https://github.com/mikolalysenko/circumcenter
- Issues: https://github.com/mikolalysenko/circumcenter/issues
- npm.io page: https://npm.io/package/circumcenter

## Dependencies (2)

- [dup](https://npm.io/package/dup.md) ^1.0.0
- [robust-linear-solve](https://npm.io/package/robust-linear-solve.md) ^1.0.0

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2014-06-02
- 0.0.0 — 2013-03-29

## README

circumcenter
============
Computes the [circumcenter](http://en.wikipedia.org/wiki/Circumcenter) of a simplex.  That is, it is the center of an [n-sphere](http://en.wikipedia.org/wiki/N-sphere) passing through n+1 points.

[![testling badge](https://ci.testling.com/mikolalysenko/circumcenter.png)](https://ci.testling.com/mikolalysenko/circumcenter)

[![build status](https://secure.travis-ci.org/mikolalysenko/circumcenter.png)](http://travis-ci.org/mikolalysenko/circumcenter)

#Usage

First install using npm:

    npm install circumcenter
    
Then you can call it like so:

```javascript
var circumcenter = require("circumcenter")

console.log(circumcenter([[0,0], [0,1], [1,1]]))

//Prints:
//
//    [0.5, 0.5]
//
```

#### `require("circumcenter")(points)`
Computes the circumcenter of a collection of points

#### `require("circumcenter").barycentric(points)`
Computes the circumcenter in barycentric coordinates

Credits
=======
(c) 2013 Mikola Lysenko. MIT License

---
_Source: https://npm.io/package/circumcenter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
