[request CAS] tag answers - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: [request CAS] tag answers (/thread-7223.html) [request CAS] tag answers - compsystems - 11-12-2016 01:49 PM 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 ============= 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 R-language (Output, well detailed) 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