Grasshopper

algorithmic modeling for Rhino

I am trying to invert about 100 sets of matrices. I was using the matrix inversion component but this only seems to accept only one set of matrix only. I am trying to invert 100 4x4 matrices. I have created a column of numbers totalling 1600 numbers. Can anyone how I can sequentially feed in groups of 16 numbers into the matrix inversion component. Many thanks.

Views: 1262

Replies to This Discussion

You stated your question in two different ways. ("I am trying to invert about 100 sets of matrices" VS "I am trying to invert 100 4x4 matrices").
I assumed the second was the actual goal, because that one makes sense to me.

Feed the InvertMatrix component matrices, not 'groups of 16 numbers'.

Can you elaborate on how to input matrices into the InvertMatrix component.  This is what I have been doing.  There does not seem to be anyway of inputting the component other than supplying it with a column matrix of numbers.

I'm sorry, I don't follow... You wanted to invert a hundred 4x4 matrices right? In your example you succesfully inverted a 3x3 matrix. If you replace that 3x3 matrix with a hundred 4x4 matrices you'll get want you want, not? Maybe it's time to upload the actual challenge, because what you're saying doesn't seem to match what you are doing.


OK I downsized the matrix from a 4x4 to a 3x3 just so I do not end up having to upload a large bitmap.  The problem is not so much the size of the matrix but how to carry out 100 matrix inversions.  How do you feed the coefficients of all 100 matrices into the MInvert component.  In the example above, I managed to invert one matrix using a column of numbers (9 for the 3x3 example above). many thanks

Definition please, I'm done with guessing what you are trying to do.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service