Socket
Book a DemoInstallSign in
Socket

simplicial-cartesian-product

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simplicial-cartesian-product

Cartesian product of simplicial complexes

latest
Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

simplicial-cartesian-product

Constructs the cartesian product of two graphs. (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("graph-cartesian-product")(a, b)

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

  • a and b are simplicial complexes

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

Keywords

cartesian

FAQs

Package last updated on 04 Apr 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts