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

Semantics and Help Page of "eye()" needs Clarification #529

Open
rdbyk opened this issue May 17, 2018 · 0 comments
Open

Semantics and Help Page of "eye()" needs Clarification #529

rdbyk opened this issue May 17, 2018 · 0 comments
Labels

Comments

@rdbyk
Copy link
Owner

rdbyk commented May 17, 2018

What is eye()? A look at the corresponding help page reveals:

...
eye() produces a identity matrix with undefined dimensions. Dimensions will be defined when this identity matrix is added to a matrix with fixed dimensions.
...

Now, based on this knowledge, try to explain why the following results are thoroughly consistent ...

--> diag(eye())
 ans  =
    []

--> sum(eye())
 ans  =
   1.

--> 1/eye()
 ans  =
   1.

--> eye()^(-1)
 ans  =
eye *

   1.

--> 1./eye()
 ans  =
eye *

   1.

Even after reading the help page of eye and analysing the above results, there remains one question:

What is eye()?

It is obvious, that a complete definition for the semantics of eye() is needed asap! Don't you agree?

@rdbyk rdbyk added the Cleaning label May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant