@thi.ng/matrices 2.1.36 → 2.1.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-12-16T12:52:25Z
3
+ - **Last updated**: 2022-12-20T16:33:11Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/orthagonal.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import type { ReadonlyMat } from "./api.js";
2
2
  /**
3
- * Returns true, if given square matrix of size `n` is orthagonal, i.e.
4
- * check if `A * AT = I`.
3
+ * Returns true, if given square matrix of size `n` is orthagonal, i.e. check if
4
+ * `A * AT = I`.
5
5
  *
6
- * {@link https://en.wikipedia.org/wiki/Orthogonal_matrix}
6
+ * https://en.wikipedia.org/wiki/Orthogonal_matrix
7
7
  *
8
8
  * @param m -
9
9
  * @param n -
package/orthagonal.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { EPS } from "@thi.ng/math/api";
2
2
  import { eqDelta } from "@thi.ng/math/eqdelta";
3
3
  /**
4
- * Returns true, if given square matrix of size `n` is orthagonal, i.e.
5
- * check if `A * AT = I`.
4
+ * Returns true, if given square matrix of size `n` is orthagonal, i.e. check if
5
+ * `A * AT = I`.
6
6
  *
7
- * {@link https://en.wikipedia.org/wiki/Orthogonal_matrix}
7
+ * https://en.wikipedia.org/wiki/Orthogonal_matrix
8
8
  *
9
9
  * @param m -
10
10
  * @param n -
@@ -1,9 +1,9 @@
1
1
  import type { MultiVecOpVV } from "@thi.ng/vectors";
2
2
  /**
3
- * Computes outer/tensor product of vectors `u` and `v`. Returns square
4
- * matrix of same dimensions as vectors, e.g. 3x3 matrix for 3D vectors.
3
+ * Computes outer/tensor product of vectors `u` and `v`. Returns square matrix
4
+ * of same dimensions as vectors, e.g. 3x3 matrix for 3D vectors.
5
5
  *
6
- * {@link https://en.wikipedia.org/wiki/Outer_product}
6
+ * https://en.wikipedia.org/wiki/Outer_product
7
7
  */
8
8
  export declare const outerProduct: MultiVecOpVV;
9
9
  export declare const outerProduct2: import("@thi.ng/vectors").VecOpVV;
package/outer-product.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { setC, setC4 } from "@thi.ng/vectors/setc";
2
2
  import { vop } from "@thi.ng/vectors/vop";
3
3
  /**
4
- * Computes outer/tensor product of vectors `u` and `v`. Returns square
5
- * matrix of same dimensions as vectors, e.g. 3x3 matrix for 3D vectors.
4
+ * Computes outer/tensor product of vectors `u` and `v`. Returns square matrix
5
+ * of same dimensions as vectors, e.g. 3x3 matrix for 3D vectors.
6
6
  *
7
- * {@link https://en.wikipedia.org/wiki/Outer_product}
7
+ * https://en.wikipedia.org/wiki/Outer_product
8
8
  */
9
9
  export const outerProduct = vop(1);
10
10
  export const outerProduct2 = outerProduct.add(2, (out, [ux, uy], [vx, vy]) => setC4(out || [], ux * vx, uy * vx, ux * vy, uy * vy));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/matrices",
3
- "version": "2.1.36",
3
+ "version": "2.1.37",
4
4
  "description": "Matrix & quaternion operations for 2D/3D geometry processing",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,10 +34,10 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.6.0",
37
+ "@thi.ng/api": "^8.6.1",
38
38
  "@thi.ng/checks": "^3.3.5",
39
- "@thi.ng/math": "^5.3.16",
40
- "@thi.ng/vectors": "^7.5.27"
39
+ "@thi.ng/math": "^5.3.17",
40
+ "@thi.ng/vectors": "^7.5.28"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@microsoft/api-extractor": "^7.33.7",
@@ -269,5 +269,5 @@
269
269
  ],
270
270
  "year": 2018
271
271
  },
272
- "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
272
+ "gitHead": "7b2af448da8a63fb21704a79cc4cdf1f3d7d7a64\n"
273
273
  }