Post Reply 
find the "seven" differences
12-06-2016, 05:56 AM (This post was last modified: 12-06-2016 05:58 AM by Han.)
Post: #66
RE: find the "seven" differences
In all your examples, I do not see any part where evaluation could be confused with extraction (as you call it). Consider a hypothetical case of someone typing name(a,b)

Evaluation occurs if 'name' is itself a function. Otherwise extraction if 'name' is a list. In the cases where you used name(a=<value>) -- that is an instance of substitution (which is in a sense, an evaluation in which 'a' is replaced by <value>).

Lastly, in CAS view, extraction can be done using name[a,b] so as to avoid any ambiguity between defining a function and assigning a value to, say, a matrix called 'name' at position [a,b]. For example, does name(a,b):=1 create a 2-variable function whose output is always 1? Or does this store 1 into position (a,b) of a matrix called 'name' ?

There is no need for subscript because either the ()'s or the []'s already separate the characters 'a' and 'b' from 'name' (which would be the main reason to have a subscript).

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
find the "seven" differences - deachp - 08-09-2016, 03:25 PM
RE: find the "seven" differences - smp - 08-09-2016, 04:28 PM
RE: find the "seven" differences - eried - 08-09-2016, 05:59 PM
RE: find the "seven" differences - jrozsas - 08-09-2016, 08:14 PM
RE: find the "seven" differences - DrD - 08-10-2016, 09:26 AM
RE: find the "seven" differences - Dirk.nl - 08-10-2016, 07:52 PM
RE: find the "seven" differences - DrD - 08-11-2016, 10:18 AM
RE: find the "seven" differences - Fortin - 08-11-2016, 02:15 PM
RE: find the "seven" differences - DrD - 08-11-2016, 02:53 PM
RE: find the "seven" differences - Fortin - 08-11-2016, 10:46 PM
RE: find the "seven" differences - ekeppel - 08-12-2016, 02:34 AM
RE: find the "seven" differences - ekeppel - 08-12-2016, 09:51 AM
RE: find the "seven" differences - Hlib - 08-12-2016, 09:17 PM
RE: find the "seven" differences - DrD - 08-13-2016, 10:13 AM
RE: find the "seven" differences - Hlib - 08-13-2016, 11:03 AM
RE: find the "seven" differences - DrD - 08-13-2016, 04:51 PM
RE: find the "seven" differences - Hlib - 08-16-2016, 08:18 AM
RE: find the "seven" differences - AVL - 08-16-2016, 11:00 AM
RE: find the "seven" differences - Hlib - 08-16-2016, 08:27 PM
RE: find the "seven" differences - chromos - 08-16-2016, 08:47 PM
RE: find the "seven" differences - AVL - 08-17-2016, 12:10 AM
RE: find the "seven" differences - robrob - 08-17-2016, 08:09 PM
RE: find the "seven" differences - ekeppel - 08-19-2016, 11:05 PM
RE: find the "seven" differences - DrD - 08-19-2016, 11:39 PM
RE: find the "seven" differences - ekeppel - 08-20-2016, 01:20 AM
RE: find the "seven" differences - ekeppel - 08-24-2016, 06:48 PM
RE: find the "seven" differences - JT650 - 08-24-2016, 08:47 PM
RE: find the "seven" differences - ekeppel - 08-25-2016, 01:31 PM
RE: find the "seven" differences - Dirk.nl - 08-25-2016, 06:28 PM
RE: find the "seven" differences - ekeppel - 08-25-2016, 06:32 PM
RE: find the "seven" differences - Dirk.nl - 08-25-2016, 08:47 PM
RE: find the "seven" differences - ekeppel - 08-26-2016, 04:37 PM
RE: find the "seven" differences - JT650 - 08-26-2016, 04:41 PM
RE: find the "seven" differences - epp - 08-26-2016, 06:21 PM
RE: find the "seven" differences - ekeppel - 08-26-2016, 06:29 PM
RE: find the "seven" differences - TravisE - 09-07-2016, 12:52 AM
RE: find the "seven" differences - DrD - 12-04-2016, 11:17 AM
RE: find the "seven" differences - DrD - 12-05-2016, 10:04 AM
RE: find the "seven" differences - Jan_D - 12-05-2016, 03:10 PM
RE: find the "seven" differences - Han - 12-06-2016 05:56 AM
RE: find the "seven" differences - DrD - 01-15-2017, 10:19 AM
RE: find the "seven" differences - tgallo - 01-31-2017, 08:32 PM
RE: find the "seven" differences - tgallo - 02-01-2017, 02:53 PM



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