Cartesian products of simplicial complexes
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
README.md
package.json
prod.js

README.md

simplicial-cartesian-product

Constructs the cartesian product of two simplicial complexes. (Not to be confused with the tensor/categorical product.)

Install

npm install simplicial-cartesian-product

Example

var prod = require("simplicial-cartesian-product")
console.log(prod([[0,1]], [[0,1]]))

require("simplicial-cartesian-product")(a, b)

Given a pair of simplicial complexes, produces their cartesian product.

Returns: The cartesian product of a and b. New vertex coordinates are of the form a_index + b_index * countVertices(a)

Credits

(c) 2013 Mikola Lysenko. MIT License