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

Matrix/Vector Sampling #44

Closed
jolyonb opened this issue Jun 30, 2018 · 4 comments
Closed

Matrix/Vector Sampling #44

jolyonb opened this issue Jun 30, 2018 · 4 comments
Assignees
Milestone

Comments

@jolyonb
Copy link
Collaborator

jolyonb commented Jun 30, 2018

We would like to be able to say that A is a matrix of a given size, and sample appropriately. Alternatively, vecv is a vector of a certain size. Students can then input vector math expressions.

  • Error should be raised when objects don't line up appropriately.
  • We should decide how multiplication works. Is a vector times a vector a dot product?
  • The identity matrix will need to be treated carefully.
  • Row vs column vectors will need to be decided upon.
  • We will probably need to make a transpose operation available, preferably as A^T. If a transposition operation is available, then vectors can be defined as a row/column vector and all multiplications work appropriately (dot products become v^T * v, for example).
  • Special matrix samplers can be constructed (symmetric, antisymmetic, orthogonal, traceless, etc).
  • Do we want to define a Hermitian conjugate operation? A^dagger?
@ChristopherChudzicki ChristopherChudzicki self-assigned this Jul 5, 2018
@ChristopherChudzicki
Copy link
Collaborator

ChristopherChudzicki commented Jul 5, 2018

I'll have PR for this one tomorrow.

@jolyonb
Copy link
Collaborator Author

jolyonb commented Jul 5, 2018

Awesome! I'm honestly surprised at how fast all of this has come together...

@jolyonb
Copy link
Collaborator Author

jolyonb commented Jul 8, 2018

We should probably expand the equality grader to first check to make sure that the input has the same dimensions as the answer!

@jolyonb jolyonb added this to the Version 1.2 milestone Jul 11, 2018
@jolyonb
Copy link
Collaborator Author

jolyonb commented Jul 13, 2018

I'm going to go ahead and close this too. The only bit here that hasn't been implemented/superseded is a number of specialty matrix samplers, but that deserves its own issue. I seem to recall that the equality comparer checks for shape match as its first order of business; correct me if I'm wrong.

@jolyonb jolyonb closed this as completed Jul 13, 2018
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

No branches or pull requests

2 participants