PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun Sep 27, 2020 4:35 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: How to Multiply matrix?
PostPosted: Mon May 21, 2007 9:43 am 
Offline
Forum Newbie

Joined: Mon May 21, 2007 9:35 am
Posts: 6
Excuse me, i'm a new member in here, i'm really interesting in php programming but im a such newbie person who just know php for 4 month ^^

Wanna ask something about the matrix, how to multiply matrix in php?
for example in here : http://www.easycalculation.com/matrix/m ... cation.php

Already try to make it but it doesnt work at all.. T___T
i dont need javascript like site above, just need the normal html & php code for the calculation.. can someone help me out from this problem please..?? Thx so much before, glad to join to this forum, im a quite php freaks, but still very2 newbie.. :oops: :oops:


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 10:09 am 
Offline
DevNet Resident
User avatar

Joined: Fri Apr 07, 2006 5:13 am
Posts: 1640
Location: Israel
You don't expect PHP to have native support for matrix multiplication, don't you?


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 10:20 am 
Offline
Forum Newbie

Joined: Mon May 21, 2007 9:35 am
Posts: 6
Actually i just need the php code (matrix multiplication) for my DSS (Decision Support System) project that requires to multiply the matrix. Hope someone can help me out! :D


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 10:29 am 
Offline
DevNet Resident
User avatar

Joined: Fri Apr 07, 2006 5:13 am
Posts: 1640
Location: Israel
Either write your own or search for something ready-to-use on the net.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 10:32 am 
Offline
Forum Newbie

Joined: Mon May 21, 2007 9:35 am
Posts: 6
Already search in google for it, but i didn't find any match code for it :(


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 10:35 am 
Offline
DevNet Resident
User avatar

Joined: Fri Apr 07, 2006 5:13 am
Posts: 1640
Location: Israel
Well, then what do you expect us to do? We aren't going to do it for you (unless you pay us :P).


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 10:43 am 
Offline
DevNet Resident
User avatar

Joined: Mon Aug 22, 2005 12:11 pm
Posts: 1912
Location: Leeds/Manchester, England
Why don't you show us what you've tried?

I can't see many places for you to go wrong in implementing this...


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 10:58 am 
Offline
Forum Newbie

Joined: Mon May 21, 2007 9:35 am
Posts: 6


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 11:10 am 
Offline
Forum Newbie
User avatar

Joined: Fri Dec 01, 2006 1:39 am
Posts: 14
Location: India


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 11:14 am 
Offline
DevNet Resident
User avatar

Joined: Fri Apr 07, 2006 5:13 am
Posts: 1640
Location: Israel


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 11:24 am 
Offline
Forum Newbie

Joined: Mon May 21, 2007 9:35 am
Posts: 6


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 11:28 am 
Offline
DevNet Resident
User avatar

Joined: Fri Apr 07, 2006 5:13 am
Posts: 1640
Location: Israel


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 11:37 am 
Offline
Forum Newbie

Joined: Mon May 21, 2007 9:35 am
Posts: 6


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 11:43 am 
Offline
DevNet Resident
User avatar

Joined: Fri Apr 07, 2006 5:13 am
Posts: 1640
Location: Israel


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 11:50 am 
Offline
Site Administrator
User avatar

Joined: Tue Sep 09, 2003 6:04 pm
Posts: 14293
Location: Fremont, CA, USA
Have a look at the logic in the matrix multiplication. Write that out on paper. Convert that to code comments. Then code your comments. Start with one dimension (say 2X2 matrix multiplication) then expand into multiple dimensions with greater/more complex matrix types.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group