Re: BASIC with built-in matrix functions?
  Home FAQ Contact Sign in
alt.lang.basic only
 
Advanced search
POPULAR GROUPS

 Up
Re: BASIC with built-in matrix functions?         

Group: alt.lang.basic · Group Profile
Author: Tom Lake
Date: Aug 20, 2007 18:57

"R.Nicholson" yahoo.com> wrote in message
news:1187654570.440885.16490@m37g2000prh.googlegroups.com...
> On Aug 20, 4:45 pm, "Tom Lake" twcny.rr.com> wrote:
>> "R.Nicholson" yahoo.com> wrote in message
>>
>> news:1187632146.498427.302270@x40g2000prg.googlegroups.com...
>>
>>> For what kind of applications do people use matrix
>>> operations in Basic? Graphics? Engineering? Math
>>> homeworks? Signal processing?
>>
>> With the ANSI Standard BASIC syntax, you use matrices for
>> various effects using matrix math.
>>
>> Example:
>> DRAW polygon(4) with Rotate(pi/4) * Shift(1,2)
>>
>> Transformation Effects:
>>
>> SHIFT(a,b) Move by a horizontally and by b vertically
>>
>> SCALE(a,b) Change scale, multiplying horizontal coordinates by a,
>> and vertical coordinates by b; if a = b, then you may specify SCALE(a)
>>
>> ROTATE(t) Rotate around origin counterclockwise by an angle t
>>
>> SHEAR(t) Lean vertical lines forward (clockwise) by an angle t
>
> None of your examples used the MAT or other matrix
> command in an application written in Basic! A better
> example might be something like MAT PLOT.

They use implied MAT commands. Scale uses matrix multiplication by a
scalar,
Shift uses matrix addition, etc. Without the MAT commands, these parameters
wouldn't function.

Tom Lake
no comments
diggit! del.icio.us! reddit!

RELATED THREADS
SubjectArticles qty Group
Hypergeometric functions and beta functionssci.math ·