{"id":18656133,"url":"https://github.com/geometryzen/multivectors","last_synced_at":"2025-11-05T20:30:33.172Z","repository":{"id":70072413,"uuid":"538692767","full_name":"geometryzen/multivectors","owner":"geometryzen","description":"Geometric Algebra Multi-Vectors For Numerical Computing","archived":false,"fork":false,"pushed_at":"2024-04-03T10:44:53.000Z","size":1884,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-27T14:41:59.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geometryzen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-09-19T20:50:47.000Z","updated_at":"2023-06-13T16:26:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"d3388ff9-de71-49ec-9d9f-e4a0b6bbf0cb","html_url":"https://github.com/geometryzen/multivectors","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"geometryzen/my-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geometryzen%2Fmultivectors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geometryzen%2Fmultivectors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geometryzen%2Fmultivectors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geometryzen%2Fmultivectors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geometryzen","download_url":"https://codeload.github.com/geometryzen/multivectors/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239471012,"owners_count":19644237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T07:22:06.513Z","updated_at":"2025-11-05T20:30:33.112Z","avatar_url":"https://github.com/geometryzen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![version](https://img.shields.io/npm/v/@geometryzen/multivectors.svg)](https://www.npmjs.com/package/@geometryzen/multivectors) \n\n[![npm downloads](https://img.shields.io/npm/dm/@geometryzen/multivectors.svg)](https://npm-stat.com/charts.html?package=@geometryzen/multivectors\u0026from=2022-09-01)\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](./CONTRIBUTING.md)\n\n# Geometric Algebra Multivectors For Numeric Computing\n\n## Overview\n\nA collection of multivectors for numeric computation. A multivector is a generalization of vector and scalar quantities that is closed under multiplication.\n\nThe following geometric quantities are supported.\n\n\u003ctable\u003e\n    \u003cthead\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eClass\u003c/td\u003e\n            \u003ctd\u003ep\u003c/td\u003e\n            \u003ctd\u003eq\u003c/td\u003e\n            \u003ctd\u003eMetric\u003c/td\u003e\n            \u003ctd\u003eCoordinates\u003c/td\u003e\n            \u003ctd\u003eBasis Vectors\u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/thead\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eGeometric1\u003c/td\u003e\n            \u003ctd\u003e1\u003c/td\u003e\n            \u003ctd\u003e0\u003c/td\u003e\n            \u003ctd\u003eEuclidean\u003c/td\u003e\n            \u003ctd\u003ea,x,x or b\u003c/td\u003e\n            \u003ctd\u003ee1\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eGeometric2\u003c/td\u003e\n            \u003ctd\u003e2\u003c/td\u003e\n            \u003ctd\u003e0\u003c/td\u003e\n            \u003ctd\u003eEuclidean\u003c/td\u003e\n            \u003ctd\u003ea,x,y,xy or b\u003c/td\u003e\n            \u003ctd\u003ee1,e2\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eGeometric3\u003c/td\u003e\n            \u003ctd\u003e3\u003c/td\u003e\n            \u003ctd\u003e0\u003c/td\u003e\n            \u003ctd\u003eEuclidean\u003c/td\u003e\n            \u003ctd\u003ea,x,y,z,xy,yz,zx,xyz or b\u003c/td\u003e\n            \u003ctd\u003ee1,e2,e3\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eSpacetime1\u003c/td\u003e\n            \u003ctd\u003e1\u003c/td\u003e\n            \u003ctd\u003e1\u003c/td\u003e\n            \u003ctd\u003eMinkowski\u003c/td\u003e\n            \u003ctd\u003ea,t,x,tx or b\u003c/td\u003e\n            \u003ctd\u003ee0,e1\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eSpacetime2\u003c/td\u003e\n            \u003ctd\u003e2\u003c/td\u003e\n            \u003ctd\u003e1\u003c/td\u003e\n            \u003ctd\u003eMinkowski\u003c/td\u003e\n            \u003ctd\u003ea,t,x,y,tx,ty,xy,txy or b\u003c/td\u003e\n            \u003ctd\u003ee0,e1,e2\u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/tbody\u003e\n\u003c/table\u003e\n\np is the number of space dimensions,  q is the number of time dimensions.\n\nAll types have:\n\n* Cartesian coordinates\n* static zero (0) constant.\n* static one (1) constant.\n* static basis vector constants e.g. e1, e2, e3\n* Unit of measure or Dimensionless\n* static S.I. Unit constants e.g. kilogram, meter, second, ampere, ...\n* Lockable to support immutability or mutation.\n* Dunder methods for operator overloading (if supported by execution environment).  \n\n## Documentation\n\nhttps://geometryzen.github.io/multivectors\n\n## Quick Start\n\n### npm\n\nhttps://www.npmjs.com/package/@geometryzen/multivectors\n\n```typescript\nimport {Geometric3} from '@geometryzen/multivectors'\n\nconst e1 = Geometric3.e1\n```\n### Locking\n\nThe ability to lock a multivector provides both unsurprising behavior and efficiency. In general, mutability is efficient because it can be used to avoid the creation of temporary objects that must be garbage collected. On the other hand, immutability avoids surprising changes in variables, is useful for avoiding the need to explicitly clone mutable objects, and provides support for operator overloading. \n\n* Locked multivectors are not mutable; their methods create new instances which are also locked.\n* Unlocked multivector methods may modify the target.\n* All static constants are locked.\n* Multivectors may be cloned to create unlocked instances.\n* Locking returns a token that may be used to unlock later.\n* Dunder methods for operator overloading never change the target and create new locked instances.\n\n## Distribution\n\n### CommonJS\n\nhttps://unpkg.com/@geometryzen/multivectors/dist/cjs/index.js\n\n### ESM\n\nhttps://unpkg.com/@geometryzen/multivectors/dist/esm/index.js\n\nhttps://unpkg.com/@geometryzen/multivectors/dist/esm/index.min.js\n\n### System\n\nhttps://unpkg.com/@geometryzen/multivectors/dist/system/index.js\n\nhttps://unpkg.com/@geometryzen/multivectors/dist/system/index.min.js\n\n### UMD\n\nhttps://unpkg.com/@geometryzen/multivectors/dist/umd/index.js\n\nhttps://unpkg.com/@geometryzen/multivectors/dist/umd/index.min.js\n\n### Type Definitions\n\nhttps://unpkg.com/@geometryzen/multivectors/dist/index.d.ts\n\n## Support\n\nPlease file issues at https://github.com/geometryzen/multivectors/issues\n\nCopyright (c) 2022 David Geo Holmes.\n\nThis software is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeometryzen%2Fmultivectors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeometryzen%2Fmultivectors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeometryzen%2Fmultivectors/lists"}