Grasshopper

algorithmic modeling for Rhino

Gil Alsberg
  • Tel Aviv
  • Israel
Share on Facebook
Share
  • Blog Posts
  • Discussions (4)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Gil Alsberg's Discussions

Matrix addition/subtraction component in math tab returns error
14 Replies

"1. Only similar types of data can be added together" allthough both are matrices and both have the same dimensions?! (for example two unit matrices from the order of 3x3 dimension - double checked…Continue

Tags: subtract, add, Math, Matrix

Started this discussion. Last reply by Mateusz Zwierzycki Jun 20.

 

Gil Alsberg's Page

Latest Activity

Gil Alsberg commented on Matous Stieber's photo
Thumbnail

Julia Set

"love those fractals. nice work!"
Thursday
Gil Alsberg liked Matous Stieber's photo
Thursday
Gil Alsberg liked Ifigenia Lambrou's photo
Thursday
Gil Alsberg liked Lucas's photo
Thursday
Mateusz Zwierzycki replied to Gil Alsberg's discussion Matrix addition/subtraction component in math tab returns error
"https://xkcd.com/605/ Sounds cool, a bit like Option Strict. Can we have a "hardcore" mode which simply disables all the castings and requires the user to cast explicitly ?"
Jun 20
Gavin replied to Gil Alsberg's discussion Matrix addition/subtraction component in math tab returns error
"Great work David! can't wait to try it out. I am hoping to develop an exposed matrix transformation process. Regards, Gavin"
Jun 19
Oliver Brossmann replied to Gil Alsberg's discussion Matrix addition/subtraction component in math tab returns error
"I'm excited about GH2. You guys are close to releasing right? ;)"
Jun 19
David Rutten replied to Gil Alsberg's discussion Matrix addition/subtraction component in math tab returns error
"I think it would be silly to talk of a 'majority of people' considering there will probably be about seven (eleven at the utmost) people who will ever want to do arithmetic on matrices :) But you're right of course, some of these…"
Jun 19
Mateusz Zwierzycki replied to Gil Alsberg's discussion Matrix addition/subtraction component in math tab returns error
"While I agree with you guys over multiplication, addition and subtraction, I think division as you're proposing is a bit convoluted. I don't think that in general replacing one operator "/" with "* ^-1" is a good coding…"
Jun 19
David Rutten replied to Gil Alsberg's discussion Matrix addition/subtraction component in math tab returns error
"There's various operations that are already different between addition and multiplication. Sometimes an operation makes sense on some data types, sometimes it doesn't. I'm aiming to support all those that do. On the other hand, if…"
Jun 19
David Rutten replied to Gil Alsberg's discussion Matrix addition/subtraction component in math tab returns error
"Yes, I've implemented it as entry-wise sum. There's other kinds of matrix addition, but they seem too exotic to make the default behaviour."
Jun 19
Gil Alsberg replied to Gil Alsberg's discussion Matrix addition/subtraction component in math tab returns error
"Yes I meant as matrix operator: actualy addition and subtraction are both together depnding on the elements signs (part or all of the elements are added and part or all of the elements are subtracted. dimension of matrices must be identical) and…"
Jun 18
Mateusz Zwierzycki replied to Gil Alsberg's discussion Matrix addition/subtraction component in math tab returns error
"Do you want to implement those as per-matrix-element operator ? This can become confusing, especially with multiplication... also, matrix division doesn't exist which makes it even worse."
Jun 17
Gil Alsberg replied to Gil Alsberg's discussion Matrix addition/subtraction component in math tab returns error
"Thats great to hear! looking forward to see this. Have a nice weekend"
Jun 17
David Rutten replied to Gil Alsberg's discussion Matrix addition/subtraction component in math tab returns error
"My new approach seems to be working, so before too long I hope to have matrices work for addition, mass-addition, subtraction, multiplication and maybe even division."
Jun 17
Gil Alsberg replied to Gil Alsberg's discussion Matrix addition/subtraction component in math tab returns error
"Hi David, thanks for the swift reply. As I recall from my Linear Algebra studies addition or subtraction of matrices from identical dimensions is fully defined and straight forward: every item (matrix part) is added/subtracted from its counterpart…"
Jun 15

Profile Information

Comment Wall

You need to be a member of Grasshopper to add comments!

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2017   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service