| View previous topic :: View next topic |
| Author |
Message |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Fri Sep 09, 2005 2:18 am Post subject: Transpose Matrix (Source Sample) |
|
|
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 |
|
 |
chaos
Joined: 10 Apr 2005 Posts: 135
|
Posted: Fri Sep 09, 2005 4:23 pm Post subject: |
|
|
i'm not sure .tt is a valid tld.. _________________ Chaosmachine Studios: High Quality Homebrew. |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Fri Sep 09, 2005 6:33 pm Post subject: |
|
|
| 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 |
|
 |
chaos
Joined: 10 Apr 2005 Posts: 135
|
Posted: Fri Sep 09, 2005 6:38 pm Post subject: |
|
|
| 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 |
|
 |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Fri Sep 09, 2005 7:40 pm Post subject: |
|
|
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 |
|
 |
|