Existing CAS commands --> Prime discussion
|
09-08-2017, 03:38 PM
(This post was last modified: 08-03-2018 10:35 PM by compsystems.)
Post: #21
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
So what solution is feasible?
improve the operating system, create another type of library? or best a new hardware with a bigger screen, more memory, a better processor |
|||
09-08-2017, 03:47 PM
Post: #22
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
(09-08-2017 03:38 PM)compsystems Wrote: So what solution is feasible? We'll just need to talk to the GNU people and get them to re-license it as closed... TW Although I work for HP, the views and opinions I post here are my own. |
|||
10-30-2017, 02:19 PM
(This post was last modified: 10-30-2017 05:40 PM by salvomic.)
Post: #23
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
(08-02-2017 01:57 PM)Eddie W. Shore Wrote: Would the Fresnel functions S(x) and C(x) be a problem to implement? What about the elliptical integrals? after some months... I vote also for Fresnel and Elliptical integrals, hoping their inclusion inside the CAS by default Waiting for them (please!), in the meantime, I would help proposing something, still rough, however... Please, for Elliptical integrals, help me to developing a control detection for the program here in the Software section (my try for Fresnel is here, also help me for that one, thank you). Salvo ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
01-21-2018, 03:49 PM
(This post was last modified: 07-28-2018 07:17 PM by compsystems.)
Post: #24
|
|||
|
|||
RE: Existing xCAS commands --> Prime discussion
nodisp cmd, although this is not a symbolic engine command, it would fall into the category of system command.
Example: nodisp(A:=ranm(50,50)) Benefit for the current user: 1: Quick history exploration by not placing the object in the history, especially when working with large arrays. ---- A=B is converted into the list [A,B] equal2list(x=3) returns {x,3} |
|||
01-21-2018, 07:46 PM
Post: #25
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
My Dad was an engineer and one of his adages, which I think was an engineering philosophy, was that the better is the enemy of the good. We can tinker forever but the longer you tinker the more apt you are to increase complexity and problems. In other words, at some point you say 'good enough' and implement.
|
|||
08-03-2018, 10:29 PM
Post: #26
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
Please include the autosimplify(#) xcas command to set or not the simplification
In the following code the line, autosimplify(2); // nop=none, 1=regroup, 2=simplify is not yet interpreted on hp-prime When changing the flag autosimplify(#), change the output please check the following code in xcas, varying the autosimplify(#) argument PHP Code: #cas |
|||
09-23-2018, 01:24 AM
(This post was last modified: 09-23-2018 02:03 AM by compsystems.)
Post: #27
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
Hello, to control the CAS modes, it is necessary cas_setup( ) cmd
cas_setup(arguments) Is the command for initialized the cas, arguments: 1: Approximate mode, // int 1/0, exact (dft) or approx mode. 2: Complex var, // int 1/0, variables are complex or real (dft). 3: Complex, // int 1/0, complex mode (dft 0). 4: Angle, // int 1/0, Randian (dft) or Degree angle mode. 5: Float format // Standard: 160 (dft) Scientific: 161 Engineer: 162 6: [Epsilon, probability]// [Real, Real], 6.1: Epsilon, Number with absolute value less than epsilon can be coerced to 0 6.2 maximal probability of a wrong answer for non-deterministic algorithms. Set to 0 for deterministic algorithms only. 7: Digitis, // int, Digits (12 dft) 8: [Threads/Eval/Prog/recurs] //[Int, Int, Int] // 8.1 Threads // Maximal number of threads in parallel 8.2 Recurs: Number of embedded function calls allowed (100 dft) 8.3 Prog: Number of embedded variable names replacement in program evaluation (1 or 0 for default eval level) 8.4 Eval: Number of embedded variable names replacement in interactive evaluation (25 dft) 9: increasing power flag // int 1/0, Show polynomials In increasin or decreasing order (0 dft) 10: Sqrt // int 1/0, Factor 2nd order poly using sqrt (1 dft) 11: All trig sol. // int 1/0, Solver: principal solution vs all solutions (0 dft) 12: ? for example when executing cas_setup() returns => [0, 0, 0, 1, 160, [1e-12,1e-15], 12, [1,100,0,25], 0, 1, 0, 1] |
|||
09-24-2018, 12:08 AM
(This post was last modified: 09-24-2018 12:09 AM by CyberAngel.)
Post: #28
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
(09-08-2017 03:38 PM)compsystems Wrote: So what solution is feasible?Emphasis mine I'm hoping for a new hardware: HP Mersenne but I also understand what TW is saying about the GPL. VPN <silently weeping> |
|||
09-25-2018, 12:27 AM
Post: #29
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
(08-07-2017 08:28 PM)Wes Loewer Wrote:(06-26-2017 06:40 PM)Tim Wessman Wrote: Finally, items that fail to pass the "only Joe is interested in it" test: :-P I would like to see the continued fraction functions included also. |
|||
09-25-2018, 03:34 AM
Post: #30
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
(09-25-2018 12:27 AM)bobager Wrote: I would like to see the continued fraction functions included also. You'll be happy to know that they have been implemented for a while now. Try them in CAS: dfc(225/157) --> [1 2 3 4 5] dfc2f(1,2,3,4,5) --> 225/157 <0|ɸ|0> -Joe- |
|||
10-27-2018, 01:05 AM
Post: #31
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
Is the analytic function Lambert W fully implemented?
(Laplace, etc) |
|||
10-27-2018, 01:36 AM
Post: #32
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
hello in the following article shows some screenshots, where the history is used as a document file, the PC version of Xcas can incorporate comments in the history / * ... * /, I think this is very important to show contained in the classroom.
Using ClassPad-technology in the education of students of electrical engineering (Fourier- and Laplace-Transformation) Source: http://math.unipa.it/~grim/21_project/Paditz469-474.pdf un sample on xcas PHP Code: /* File: Xcas Text */ Source:https://www-fourier.ujf-grenoble.fr/~parisse/casio/khicasioen.html |
|||
10-27-2018, 03:25 PM
Post: #33
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion | |||
11-27-2018, 06:01 PM
Post: #34
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
Hello the float2rational giac command is not included on the hpPrime CAS
exact(0.324532453245) ↵1100186656/3390066679 float2rational(0.324532453245) ↵ 295/909 |
|||
11-27-2018, 06:43 PM
Post: #35
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
(11-27-2018 06:01 PM)compsystems Wrote: Hello the float2rational giac command is not included on the hpPrime CAS According to the XCAS documentation, the float2rational() function is the same as the exact() function. The problem here is that you have to set their precision yourself by adjusting the value of epsilon. To simulate Home's fraction button in CAS: epsilon:=5E-12 exact(0.324532453245) --> 295/909 <0|ɸ|0> -Joe- |
|||
11-28-2018, 10:28 PM
Post: #36
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
(01-21-2018 07:46 PM)harryp Wrote: My Dad was an engineer and one of his adages, which I think was an engineering philosophy, was that the better is the enemy of the good. We can tinker forever but the longer you tinker the more apt you are to increase complexity and problems. In other words, at some point you say 'good enough' and implement. LOL! My dad used to say that "good enough" is the enemy of the excellent! Tom L Cui bono? |
|||
11-28-2018, 11:35 PM
(This post was last modified: 11-28-2018 11:47 PM by compsystems.)
Post: #37
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
(11-28-2018 10:28 PM)toml_12953 Wrote:+1(01-21-2018 07:46 PM)harryp Wrote: My Dad was an engineer and one of his adages, which I think was an engineering philosophy, was that the better is the enemy of the good. We can tinker forever but the longer you tinker the more apt you are to increase complexity and problems. In other words, at some point you say 'good enough' and implement. // in GIAC The output value seems to vary according to the value of epsilon, but do not always yield the same value, therefore it is concluded that exact() and float2rational() are different and not synonymous commands epsilon:=1E-12:; exact(0.324532453245); float2rational(0.324532453245) ↵ returns "Done", 1094980201/3374023738, 295/909 |
|||
11-29-2018, 01:47 AM
Post: #38
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
(11-28-2018 11:35 PM)compsystems Wrote: The output value seems to vary according to the value of epsilon, but do not always yield the same value, therefore it is concluded that exact() and float2rational() are different and not synonymous commands But if you use epsilon:=5E-12, as suggested by Joe to get the same results as Home's fraction button, exact() provides the same result as float2rational(). The magnitude of epsilon controls how far the reduction is continued. --Bob Prosperi |
|||
11-29-2018, 12:30 PM
(This post was last modified: 11-29-2018 12:31 PM by compsystems.)
Post: #39
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
(11-29-2018 01:47 AM)rprosperi Wrote: But if you use epsilon:=5E-12, as suggested by Joe to get the same results as Home's fraction button, exact() provides the same result as float2rational(). The magnitude of epsilon controls how far the reduction is continued. It is true, but I think that this command was not included (hpp cas) because apparently it is mentioned as "synonymous" and with an example that is not fulfilled implies that they are not identical commands, therefore, this important command must be included. by ejp I wish to show step by step the conversion of a periodic fractional number to a rational number PHP Code: 'f=0.324532453245' // eq1 now with exact & float2rational epsilon:=1E-12:; exact(0.324532453245) ↵1100186656/3390066679 float2rational(0.324532453245) ↵ 295/909 |
|||
11-29-2018, 05:18 PM
(This post was last modified: 11-29-2018 05:26 PM by ijabbott.)
Post: #40
|
|||
|
|||
RE: Existing CAS commands --> Prime discussion
Looking at the Giac/Xcas source code for exact and float2rational, they follow different code paths, but do similar things. The main functional difference seems to be that exact imposes a minimum epsilon value of 1e-14, whereas float2rational imposes a minimum epsilon value of 1e-11.
— Ian Abbott |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)