Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completed EigenJSMatrixOperators #8

Merged
merged 1 commit into from
May 6, 2024

Conversation

muratcancicek
Copy link
Collaborator

No description provided.

Copy link

@sdmuki sdmuki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a suggestion. But you don't need to do it now. I created a ticket for a future revision. approving and merging it.

@@ -18,15 +19,22 @@ export class EigenJSMatrixOperators implements IMatrixOperators {
}

public shape(matrix: Matrix): Shape {
throw new Error("Method not implemented.");
if (Array.isArray(matrix[0])) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a loop. There can be 3-D or 4-D matrices in the future.

return true;
const shape1 = this.shape(matrix1);
const shape2 = this.shape(matrix2);
return _.isEqual(shape1, shape2);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\m/

@sdmuki sdmuki merged commit 829b193 into wasm-packaging May 6, 2024
0 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants