Post Reply 
[request] improve implicit multiplication in some cases
10-12-2016, 03:44 PM (This post was last modified: 10-12-2016 04:01 PM by compsystems.)
Post: #5
RE: [request] improve implicitly multiplication in some cases
(10-12-2016 03:18 PM)Han Wrote:  a[1,2] is a method for referencing entry 2 in row 1 of the (presumably) matrix stored in the variable a.
you're right, is interpreting, extract the (row, col) position, although the output at(a,[0,1]) is very confusing, is not a real pretty print as it appears in math textbooks, the hp-prime development team is not interested in improving this, I think it's too simple to improve history view, 100% pretty-print

a:=[[9,8,7]];
a[[1,2]] -> 8 // ok
or
a[1,2] -> 8 // ok

purge(a)
a[1,2] -> at(a,[0,1]) // ok but incomprehensible to an inexperienced user

... but in other cases as:
a|x| [enter] returns aABS(x) ?? must generate a syntax error or made implicity multiplication, agree?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [request] improve implicitly multiplication in some cases - compsystems - 10-12-2016 03:44 PM



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