Existing CAS commands --> Prime discussion
|
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] |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)