forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Transpose Matrix (Source Sample)

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Fri Sep 09, 2005 2:18 am    Post subject: Transpose Matrix (Source Sample) Reply with quote

if you need to transpose a matrix, just get my code here

@name: transposeMatrix()
@param: matrix (table in table)
@return: returns the transposed matrix

in the lua sample onlne is already an example-matrix included
and a function to print it onscreen (with print())

greets Lumo

PS: comments and critic wellcome
Back to top
View user's profile Send private message Visit poster's website
chaos



Joined: 10 Apr 2005
Posts: 135

PostPosted: Fri Sep 09, 2005 4:23 pm    Post subject: Reply with quote

i'm not sure .tt is a valid tld..
_________________
Chaosmachine Studios: High Quality Homebrew.
Back to top
View user's profile Send private message
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Fri Sep 09, 2005 6:33 pm    Post subject: Reply with quote

chaos wrote:
i'm not sure .tt is a valid tld..


It is a valid tld: http://nic.tt/ Trinidad and Tobago are some islands in the southern Caribbean Sea.
Back to top
View user's profile Send private message
chaos



Joined: 10 Apr 2005
Posts: 135

PostPosted: Fri Sep 09, 2005 6:38 pm    Post subject: Reply with quote

Shine wrote:
chaos wrote:
i'm not sure .tt is a valid tld..


It is a valid tld: http://nic.tt/ Trinidad and Tobago are some islands in the southern Caribbean Sea.


it seems you're right. i still can't access his site, though. :\
_________________
Chaosmachine Studios: High Quality Homebrew.
Back to top
View user's profile Send private message
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Fri Sep 09, 2005 7:40 pm    Post subject: Reply with quote

sorry, seems that there were some troubles with forwarding to my webspace yesterday... should work now :)
also added another small function

str_explode(text, needle)
str_implode(text, needle)

to convert a string to array, and vice versa (splitted by needle)

greets
Lumo
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group