Post Reply 
Few questions and again if statement
12-25-2021, 07:33 PM (This post was last modified: 12-25-2021 07:38 PM by roadrunner.)
Post: #2
RE: Few questions and again if statement
1. There are no tables in the prime, but check out the functions:

CHISQUARE(d,x),
NORMALD([μ, σ,] x), and
STUDENT(d,x)

2. As far as your program i think you want an if then else statement:

IF(q1<0)
THEN
q3:=p1+180;
ELSE
q3:=p1;
END;

IF(q2<0)
THEN
q4:=p2+180;
ELSE
q4:=p2;
END;

3. What you want to do with the built in matrix variables should work. Here is an example program that puts two random matrixes in M1 and M2, then calculates M3 with your formula and prints M3(3,3)

Code:
EXPORT mattest()
BEGIN
 M1:=randMat(3,3);
 M2:=randMat(3,3);
 M3:=(M2)^(-1)*M1*(M2)^(-1);
 PRINT(M3(3,3));
 M3;
END;

-road
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Few questions and again if statement - roadrunner - 12-25-2021 07:33 PM



User(s) browsing this thread: 1 Guest(s)