Re: Arrays and Matrix Algebra

2002-03-18 Thread crob


Message: 1
Date: Mon, 18 Mar 2002 12:17:49 -0500
Subject: Re: metacard digest, Vol 1 #133 - 9 msgs
From: Gregory Lypny [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]

Thanks for the response.  But, actually, my question was whether MC
treats numerically-indexed arrays in the usual row-column sense that's
used for matrix math.  As for the question of buying MC or Revolution,
there is nothing about Revolution (as appealing as the face lift is)
that can justify a switch from MC for me.

   Greg

I don't understand very well what you mean, btw try this:
---
#matrix4
#button go
global matrix,m,n,out

on mouseUp
   put 3 into m
   put 4 into n
   put 1 into x
   repeat with i=1 to m
 repeat with j=1 to n
   put  x into matrix[i,j]
   put x+1 into x
 end repeat
   end repeat

   put empty into out
   repeat with i=1 to m
 repeat with j=1 to n
   put matrix[i,j]  after out
 end repeat
 put return after out
   end repeat
   put return after out
put out

end mouseUp
---
is this what you want?
as for MetaCard or Revolution, it is a matter of price: maybe 
upgrading from old MC to Rev is cheaper tha from old MC to 2.4.1? who 
knows?

bye
crob
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Arrays and Matrix Algebra

2002-03-16 Thread Dave Jones

 Just wanted to confirm the correct way to set up arrays to be able
 to do matrix math.  If I have an array named X, does MetaCard treat
 x[3,4] as the fourth element in the third row of X and x[8,2] as the
 second element in the eigth row?
 
 Regards,
 
 Greg

Greg, I don't really follow this list much anymore (or use Metacard much
either), but you might find my library of scripts useful...I remember
writing some for matrix math, etc. You can find it at:

http://www.phbeads.com/pub/metacard/

HTH,
Dave

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Arrays and Matrix Algebra

2002-03-15 Thread Gregory Lypny

I guess we'll have to experiment with some actual calculations.  Any 
word on this, Scott?

Greg


On Friday, March 15, 2002, at 12:03  PM, metacard-
[EMAIL PROTECTED] wrote:

 Message: 2
 Date: Thu, 14 Mar 2002 23:39:39 +0100
 Subject: Re: Arrays and Matrix Algebra
 From: [EMAIL PROTECTED] (Dr. Wolfgang Rost)
 To: [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]

 am 14.03.2002 17:51 Uhr schrieb Gregory Lypny unter
 [EMAIL PROTECTED]:

 Hi Everyone,

 Just wanted to confirm the correct way to set up arrays to be able
 to do matrix math.  If I have an array named X, does MetaCard treat
 x[3,4] as the fourth element in the third row of X and x[8,2] as the
 second element in the eigth row?

 Regards,

 Greg



 
 Gregory Lypny
 Associate Professor
 Concordia University
 
 They had the best selection,
 The were poisoned by protection,
 There was nothing that they needed,
 They had nothing left to find.
 - Neil Young


 E-mail forum:   [EMAIL PROTECTED]
 Visit Pareto at http://rubbersoul.concordia.ca
 Visit Borsa at http://rubbersoul.concordia.ca/Borsa_Classroom
 Crash site for notes and quizzes at
 http://homepage.mac.com/gregorylypny/FileSharing1.html


 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
 Hi Greg,

 I think so, but the worse (sorry, my English is very poor, I'm a 
 German, or
 so?) is, that, how Scott me just mailed, you can't adress row's and 
 column's
 in array's. So I think, a 2-dimensional array brings no advantage and 
 must
 just be handled like a 1-dimensional one. Is it right?

 Regards

Wolfgang

 Dr. Wolfgang Rost, Psychologist and Software-Developer, Germany


___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Arrays and Matrix Algebra

2002-03-14 Thread Gregory Lypny

Hi Everyone,

 Just wanted to confirm the correct way to set up arrays to be able 
to do matrix math.  If I have an array named X, does MetaCard treat 
x[3,4] as the fourth element in the third row of X and x[8,2] as the 
second element in the eigth row?

 Regards,

  Greg




Gregory Lypny
Associate Professor
Concordia University

They had the best selection,
 The were poisoned by protection,
 There was nothing that they needed,
 They had nothing left to find.
   - Neil Young


E-mail forum:   [EMAIL PROTECTED]
Visit Pareto at http://rubbersoul.concordia.ca
Visit Borsa at http://rubbersoul.concordia.ca/Borsa_Classroom
Crash site for notes and quizzes at 
http://homepage.mac.com/gregorylypny/FileSharing1.html


___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Arrays and Matrix Algebra

2002-03-14 Thread Dr. Wolfgang Rost

am 14.03.2002 17:51 Uhr schrieb Gregory Lypny unter
[EMAIL PROTECTED]:

 Hi Everyone,
 
 Just wanted to confirm the correct way to set up arrays to be able
 to do matrix math.  If I have an array named X, does MetaCard treat
 x[3,4] as the fourth element in the third row of X and x[8,2] as the
 second element in the eigth row?
 
 Regards,
 
 Greg
 
 
 
 
 Gregory Lypny
 Associate Professor
 Concordia University
 
 They had the best selection,
 The were poisoned by protection,
 There was nothing that they needed,
 They had nothing left to find.
 - Neil Young
 
 
 E-mail forum:   [EMAIL PROTECTED]
 Visit Pareto at http://rubbersoul.concordia.ca
 Visit Borsa at http://rubbersoul.concordia.ca/Borsa_Classroom
 Crash site for notes and quizzes at
 http://homepage.mac.com/gregorylypny/FileSharing1.html
 
 
 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard
Hi Greg,

I think so, but the worse (sorry, my English is very poor, I'm a German, or
so?) is, that, how Scott me just mailed, you can't adress row's and column's
in array's. So I think, a 2-dimensional array brings no advantage and must
just be handled like a 1-dimensional one. Is it right?

Regards

   Wolfgang

Dr. Wolfgang Rost, Psychologist and Software-Developer, Germany

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard