Two uncommented keywords
|
06-29-2017, 09:46 AM
Post: #1
|
|||
|
|||
Two uncommented keywords
Hello,
I found that when I type base and view in the Home view, the calculator give me a certain result and it can't be changed and I got the same result when I give an argument to them. So what is the meaning of the two keywords? |
|||
06-29-2017, 11:50 AM
Post: #2
|
|||
|
|||
RE: Two uncommented keywords
There are a lot of hidden functions that are undocumented. There may also be variables that are undocumented too. Some of these are part of the xcas system that the prime's cas software is based upon. e.g. The =< operator or the array_sto() function.
The xcas documentation is here....contains some of the definitions...http://www-fourier.ujf-grenoble.fr/~parisse/giac/doc/en/cascmd_en/index.html |
|||
06-29-2017, 10:22 PM
Post: #3
|
|||
|
|||
RE: Two uncommented keywords
Here are SOME of Prime's "undocumented constants" that return a value in Home view. Ones that only work in CAS are not included here. Future firmware versions might change or eliminate any of these, so don't use them in programs until they are supported by HP.
adaptive --> 0 algebraic --> 8 axesfont --> 18 bareiss --> 26 base --> 104 bisection_solver --> 0 brent_solver --> 2 cap_flat_line --> 20971520 = 2^22 * 5 cap_round_line --> 25165824 = 2^22 * 6 cap_square_line --> 29360128 = 2^22 * 7 complex --> 4 confrac --> 105 = 3*5*7 coords --> 19 cross_point --> 0 dash_line --> 4194304 = 2^22 dashdot_line --> 12582912 = 2^22 * 3 dashdotdot_line --> 16777216 = 2^24 dnewton_solver --> 11 DOM_COMPLEX --> 4 DOM_FLOAT --> 1 DOM_FUNC --> 13 DOM_IDENT --> 6 DOM_int --> 0 DOM_INT --> 2 DOM_LIST --> 7 DOM_LONGFLOAT --> 3 DOM_MAP --> 17 DOM_MATRIX --> 7 DOM_RAT --> 10 DOM_STRING --> 12 DOM_SYMBOLIC --> 8 expln --> 101 fadeev --> 25 false (and FALSE) --> 0 falsepos_solver --> 1 frames --> 32 fullparfrac --> 103 gauss15 --> 29 gl_showaxes --> 91 gl_shownames --> 92 gl_x --> 84 gl_x_axis_color --> 101 gl_x_axis_name --> 93 gl_x_axis_unit --> 96 gl_xtick --> 87 gl_y --> 85 gl_y_axis_color --> 102 gl_y_axis_name --> 94 gl_y_axis_unit --> 97 gl_ytick --> 88 gl_z --> 86 gl_z_axis_color --> 103 gl_z_axis_name --> 95 gl_z_axis_unit --> 98 gl_ztick --> 89 golub_reinsch_decomp --> 12 golub_reinsch_mod_decomp --> 13 gomme --> 0 hybrid_solver --> 10 hybridj_solver --> 7 hybrids_solver --> 9 hybridsj_solver --> 6 invisible_point --> 134217728 = 2^27 jacobi_decomp --> 14 keep_pivot --> 18 labeldirections --> 21 labelfont --> 20 labels --> 5 left_rectangle --> 21 line_width_1 --> 0 line_width_2 --> 65536 = 2^16 line_width_3 --> 131072 = 2^16 * 2 line_width_4 --> 196608 = 2^16 * 3 line_width_5 --> 262144 = 2^16 * 4 line_width_6 --> 327680 = 2^16 * 5 line_width_7 --> 393216 = 2^16 * 6 line_width_8 --> 458752 = 2^16 * 7 linestyle --> 7 minor_det --> 15 newtonj_solver --> 8 nonnegint --> 1026 nonposint --> 770 = 2*5*7*11 nstep --> 31 numpoints --> 22 plus_point --> 67108864 = 2^26 point_plus --> 67108864 = 2^26 point_point --> 234881024 = 2^25 * 7 point_triangle --> 167772160 = 2^25 * 5 point_width_1--> 0 point_width_2 --> 524288 = 2^19 point_width_3 --> 1048576 = 2^19 * 2 point_width_4 --> 1572864 = 2^19 * 3 point_width_5 --> 2097152 = 2^19 * 4 point_width_6 --> 2621440 = 2^19 * 5 point_width_7 --> 3145728 = 2^19 * 6 point_width_8 --> 3670016 = 2^19 * 7 polynom --> 10 quadrant1 --> 0 quadrant2 --> 268435456 = 2^28 quadrant3 --> 536870912 = 2^28 * 2 quadrant4 --> 805306368 = 2^28 * 3 rational_det --> 17 rectangle_droit --> 20 rectangle_gauche --> 21 resolution --> 12 revlex --> 4 rhombus_point --> 33554432 = 2^25 right_triangle --> 20 rombergm --> 28 rombergt --> 27 rur --> -4 sample --> 9 scaling --> 10 secant_solver --> 4 set --> 2 simpson --> 23 solid_line --> 0 square_point --> 100663296 = 2^25 * 3 star_point --> 201326592 = 2^26 * 3 steffenson_solver --> 5 symbolsize --> 13 tdeg --> 2 thickness --> 14 title --> 15 titlefont --> 16 triangle_point --> 167772160 = 2^25 * 5 true (and TRUE) --> 1 unfactored --> 24 view --> 17 xtickmarks --> 24 zstep --> 27 <0|ɸ|0> -Joe- |
|||
06-29-2017, 10:49 PM
Post: #4
|
|||
|
|||
RE: Two uncommented keywords
I think 'list' (without quotes) is another one to add to your list.
Graph 3D | QPI | SolveSys |
|||
06-30-2017, 03:52 AM
Post: #5
|
|||
|
|||
RE: Two uncommented keywords
(06-29-2017 10:49 PM)Han Wrote: I think 'list' (without quotes) is another one to add to your list. As stated above, the list only contains keywords that evaluate to a number in Home view. Although list+0 returns 256 in CAS, it returns a syntax error in Home. Sorta like blue+0 and many other CAS-only "constants". On the other hand, the list above is only a partial list, because it contains only the commands that I happened to accidentally find during playful spelunking. If you find any more, please do post them here. <0|ɸ|0> -Joe- |
|||
06-30-2017, 05:22 AM
Post: #6
|
|||
|
|||
RE: Two uncommented keywords
Hello,
Base in home view is the setting that stores the current base for # numbers. base is a CAS function (a constant) used in the convert function (as far as I know) to do base conversions. A home screen equivalent exists with base in a string (from memory). convert([1, 2, 3, 4], "base", 10) return 1234. ie, it takes the input and assumes that they are digits in the provided base and return the associated number. it also works the other way around of couse convert(3213, "base", 8) returns [6,2,1,5] Cyrille Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)