Post Reply 
[request CAS] tag answers
11-12-2016, 01:49 PM (This post was last modified: 11-14-2016 04:24 PM by compsystems.)
Post: #1
[request CAS] tag answers
For all outputs containing multiple results, please attach a label, with the purpose of identifying the outputs

example #1 LU decomposition https://en.wikipedia.org/wiki/LU_decomposition

LU & lu CMDS

MA:=[[1,2],[3,4]];

output := LU(MA); [enter]
-> current firmware
{[[1,0],[0.333333333333,1]],[3.,4.],[0,0.666666666667]],[[0,1],[1,0]]}

more explicit (good idea?)
{ :L:[[1,0],[0.333333333333,1]], :U:[[3.,4.],[0,0.666666666667]], : P:[[0,1],[1,0]] }

ML:=output[1]; [enter]
->
[[1.,0.],
[0.333333333333,1.]]

MU:=output[2]; [enter]
->
[[3.,4.],
[0,0.666666666667]]

MP:=output[3]; [enter]
->
[[0.,1.],
[1.,0.]]

((MP*MA)==(ML*MU)) -> TRUE // P*A = LU

Hp-prime
[Image: LUdecomposition_hp_prime_image00.jpg]


=============
example #2 Source: https://gmgolem.wordpress.com/category/linear-algebra/

MA:=[[6,-2,2],[12,-8,6],[3,-13,2]];
output := LU(MA); [enter]
{[[1,0,0],[0.25,1,0],[0.5,−0.181818181818,1]],[[12.,-8.,6.],[0,-11.,0.5],[0,0,−0.909090909091]],[[0,1,0],[0,0,1],[1,0,0]]}

ti-nspire_cx_cas screen capture
[Image: lunspire.jpg?w=737&h=501]

R-language (Output, well detailed)
[Image: lur.jpg]

Now lowercase
output := lu(MA); [enter]
{[2,3,1],[[1,0,0],[0.25,1,0],[0.5,−0.181818181818,1]],[[12.,-8.,6.],[0,-11.,0.5],[0,0,−0.909090909091]]}

What is [2,3,1]? I can not find the documentation [help] key
Find all posts by this user
Quote this message in a reply
Post Reply 




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