User Profile

Collapse

Profile Sidebar

Collapse
rodrigo carvaja
rodrigo carvaja
Last Activity: May 31 '11, 05:32 PM
Joined: Apr 24 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rodrigo carvaja
    replied to adding 2 matrices
    Thank you very much it works great!!! :)
    See more | Go to post

    Leave a comment:


  • rodrigo carvaja
    started a topic adding 2 matrices

    adding 2 matrices

    i'm having a little issue when adding2 matrices on python, according to my understanding the program should be:

    Code:
    m1=[[1,3,9],[5,6,3],[2,5,8]]
    m2=[[1,3,9],[5,6,3],[2,5,8]]
    n=3
    def sumamat(a,b):
    	z=[]
    	for i in range (n):
    		for j in range (n):
    			x=m1[i][j]+m2[i][j]
    			z.append(x)
    		return z
    
    print(sumamat(m1,m2))
    being n the number of rows and columns since...
    See more | Go to post
    Last edited by Meetee; May 24 '11, 07:20 AM. Reason: please use code tags

  • rodrigo carvaja
    replied to normal vector?
    i know the 4th point lies on the plane because the plane is intersected by a line,that 4th point is the intersection of the line and the plane, thanks for the answer, i'm actually trying that right now
    See more | Go to post

    Leave a comment:


  • rodrigo carvaja
    started a topic normal vector?

    normal vector?

    I'm having issues determining the normal vector of a plane in a specfic point on it. Let's say I have the 3 points of a plane, and the point inside the plane where I need the vector. I need to know how to do this on python without the use of any modules, pure python. Thanks!!
    See more | Go to post
No activity results to display
Show More
Working...