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

more...

alt.lang.basic Profile…
 Up
BASIC with built-in matrix functions?         


Author: Phred
Date: Jun 12, 2007 04:23

G'day mates,

Just wondering if anyone knows of a free (or reasonably priced) BASIC
version which has built-in matrix functions. The old Rocky Mountain
BASIC [from Hewlett-Packard] had this ability, and the modern
compatible BASIC from TransEra (HTBasic) also seems to:

<http://htbasic.com/htbwindows.html#Description>


TransEra HTBasic, compatible with Hewlett-Packard's 9000 Series
200/300 Rocky Mountain BASIC, runs on PCs in DOS or Windows.
HTBasic is a powerful scientific /engineering language that
combines the ease-of-use of BASIC, the math capabilities of
FORTRAN and the structured-programming of Pascal and C. When
combined with IEEE-488 or data acquisition plug-in cards, HTBasic
turns your PC into a full-featured instrument controller.


Unfortunately, TransEra's pricing is somewhat, umm... commercial:

<http://htbasic.com/prices.html>
Show full article (1.28Kb)
98 Comments
Re: BASIC with built-in matrix functions?         


Author: R.Nicholson
Date: Aug 20, 2007 10:49

For what kind of applications do people use matrix
operations in Basic? Graphics? Engineering? Math
homeworks? Signal processing?

Thanks.

rhn A.T nicholson d.0.t C-o-M
31 Comments
Re: BASIC with built-in matrix functions?         


Author: ted rosenberg
Date: Aug 20, 2007 11:30

R.Nicholson wrote:
> For what kind of applications do people use matrix
> operations in Basic? Graphics? Engineering? Math
> homeworks? Signal processing?
>
> Thanks.
>
> rhn A.T nicholson d.0.t C-o-M
>
>
>
Never used it, but I had matrix functions on one of my early BASICs, I
THINK System 3., but possibly through SBC

I also had APL on the IPSharpe net, with that, I had more matrix
functions than even I could use, and a lot more powerful than any BASIC.

Matrix functions are a boon in modeling, any actuarial math, economics,
quantitative analysis, and also lots of things I nrver needed
no comments
Re: BASIC with built-in matrix functions?         


Author: Gary
Date: Aug 20, 2007 13:58

R.Nicholson wrote:
> For what kind of applications do people use matrix
> operations in Basic? Graphics? Engineering? Math
> homeworks? Signal processing?
>
> Thanks.
>
> rhn A.T nicholson d.0.t C-o-M

I tend to try to understand statistical routines and algorithms by
programming them. Also I write such routines for procedures not
available in my ordinary stats software. And sometimes i use them for
teaching and research purposes.

Lance
2 Comments
Re: BASIC with built-in matrix functions?         


Author: Tom Lake
Date: Aug 20, 2007 16:45

"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

Tom Lake
no comments
Re: BASIC with built-in matrix functions?         


Author: R.Nicholson
Date: Aug 20, 2007 17:02

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, ...
Show full article (1.25Kb)
no comments
Re: BASIC with built-in matrix functions?         


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 ...
Show full article (1.34Kb)
no comments
Re: BASIC with built-in matrix functions?         


Author: R.Nicholson
Date: Aug 20, 2007 20:50

On Aug 20, 6:57 pm, "Tom Lake" twcny.rr.com> wrote:
> "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: ...
Show full article (1.91Kb)
no comments
Re: BASIC with built-in matrix functions?         


Author: Tom Lake
Date: Aug 20, 2007 22:55

>> 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.
>
> Not true. There are several different ways to do
> these types of transforms, some of which do not
> require complete matrix operations. One can easily
> do 2D and even 3D projections using a Basic language
> which has no built-in MAT commands (typical exercise
> for the student in some textbooks...) And in fast
> implementations, the graphics routines often use
> faster special case matrix math code, not suitable
> for the MAT commands which are required to work in
> the general case.
Show full article (1.05Kb)
no comments
Re: BASIC with built-in matrix functions?         


Author: Phred
Date: Aug 21, 2007 02:50

In article <1187632146.498427.302270@x40g2000prg.googlegroups.com>, "R.Nicholson" yahoo.com> wrote:
>For what kind of applications do people use matrix
>operations in Basic? Graphics? Engineering? Math
>homeworks? Signal processing?

As I indicated at the beginning of this thread, my plan (probably too
strong a word :) was to translate functions from Fortran to Basic.

These specifically related to the estimation of genetic parameters
using maximum likelihood methods. (If I'm correctly recalling the
jargon from >30 years ago. 8-)

Perhaps that could be generalised as Biometrics. (Using the word in
its old sense rather than it's modern application to iris patterns!)

Cheers, Phred.

--
ppnerkDELETE@THISyahoo.com.INVALID
no comments

RELATED THREADS
SubjectArticles qty Group
Hypergeometric functions and beta functionssci.math ·
1 2 3 4 5 6 7 8 9