I have a few questions. Would it be possible to make this kind of program using lists? Is it possible to code a program to edit a matrix without having to preset the matrix before running the program?

Also, if anyone happens to have code or is willing to type some crucial parts of the code I'd warmly welcome it, thanks.

-L1k3awh15p3r

The man shuddered as the shadow drew a glistening sword from his back. Creeping closer and closer with his pale eyes burning into the man, the shadow slowly raised his blade and before he could thrust it down, the man heard the shadow hiss something.
"The Shadow Clan's presence must be like a whisper. Always felt, but never seen…"

yes you can make a matrix inside a program if thats what your asking. i now i heard of this before and used it but i cant remember what i did and the link and wikipedia isnt jogging my memory, ill have to flip through my old notes. i believe it to be possible, or i dont know how i went through Alg II.

okay, (sidenote, i spent a month in 7th grade trying to figure out how this regular n-gon on a co-ord plane formula using something like this worked) so Cramer's Rule solves linear equations. and it expresses the solution in terms of the determinants of the (square) coefficient matrix and of matrices obtained from it by replacing one column by the vector of right hand sides of the equations.

for example:
ax+by+cz=j
dx+ey+fz=k
gx+hy+iz=l

the coefficient matrix would be [[a,b,c][d,e,f][g,h,i]] and the matrix for the variable x is [[j,b,c][k,e,f][l,h,i]], the matrix for variable y is [[a,j,c][d,k,f][g,l,i]], the matrix for variable z is [[a,b,j][d,e,k][g,h,l]]

What's this for? Is it for working problems that you've been instructed to work with Cramer's Rule? Or is it for solving a system of linear equations?
If the former, meh. See Silver Phantom's post.
If the latter, then I suggest Gaussian Elimination as a much more convenient solution. The rref( command does this quite handily.

Yeah Mr. Dino I learned the rref( command literally yesterday, so all this Cramer's rule stuff is irrelevent. But for the sake of programming and for the beginners (I won't say newbies) reading this forum post let's continue.

Okay thanks for the help Phantom.

So basically if I want to create a 2 x 2 matrix for matrix C coded into a program it would look like this…?

Program:MATRIX TEST
:ClrHome
:[[1 2][3 4]]→[A]

Is that it? Each row gets its own set of brackets and the whole thing is surrounded by brackets?

Well I will test this and see if it works. Thanks so much for the help guys and sorry for the kinda late response.

-L1k3awh15p3r

The man shuddered as the shadow drew a glistening sword from his back. Creeping closer and closer with his pale eyes burning into the man, the shadow slowly raised his blade and before he could thrust it down, the man heard the shadow hiss something.
"The Shadow Clan's presence must be like a whisper. Always felt, but never seen…"

The man shuddered as the shadow drew a glistening sword from his back. Creeping closer and closer with his pale eyes burning into the man, the shadow slowly raised his blade and before he could thrust it down, the man heard the shadow hiss something.
"The Shadow Clan's presence must be like a whisper. Always felt, but never seen…"