We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9287a1 commit 3a28b5fCopy full SHA for 3a28b5f
src/__tests__/matrix/projection.js
src/index.js
@@ -23,3 +23,4 @@ export {
23
export { default as LuDecomposition, default as LU } from './dc/lu.js';
24
export { default as QrDecomposition, default as QR } from './dc/qr.js';
25
export { default as NNMFDecomposition, default as NNMF } from './dc/nnmf.js';
26
+export { projection } from './projection';
src/projection.js
@@ -0,0 +1,11 @@
1
+import { Matrix, WrapperMatrix2D } from './index';
2
+
3
+/**
4
+ * Compute the projection of a vector into a
5
+ * @param {matrix} vector
6
+ * @param {matrix} vectorspace
7
+ * @return {matrix} projection of vector
8
+ */
9
+export function projection(vector, vectorspace) {
10
+ return (vector);
11
+}
0 commit comments