HPGCC3 - symbolic matrix vs array
|
08-14-2016, 08:04 PM
Post: #4
|
|||
|
|||
RE: HPGCC3 - symbolic matrix vs array
(08-14-2016 12:25 PM)multilingualtricker Wrote: Hello! HPGCC3 only has support for numeric matrices, since algebraic objects involving functions would require that function to be written in C for evaluation. As an alternative, your code would have to drop back to RPL to eval the symbolic then go back into HPGCC3, losing the main advantage of working in C (a major overhead to get in and out of C). Your only chance is either you code the symbolic handling yourself (it's not that hard), trying to simulate only the functions you need (let's say you only need SIN, COS, TAN, that's easy to detect and simulate), or simply write a wrapper that detects any anomalies in the matrix before you feed it to hpgcc3. Another solution is: convert your matrix into a list of lists with AXL and use hpgcc3 list manipulation functions. You should be able to detect symbolic objects from within hpgcc3 and stop calculation then. Regarding TICKS, the answer from DavidM is correct, as hpgcc3 prevents the RPL OS from properly updating its counters. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HPGCC3 - symbolic matrix vs array - multilingualtricker - 08-14-2016, 12:25 PM
RE: HPGCC3 - symbolic matrix vs array - DavidM - 08-14-2016, 02:13 PM
RE: HPGCC3 - symbolic matrix vs array - multilingualtricker - 08-14-2016, 02:35 PM
RE: HPGCC3 - symbolic matrix vs array - Claudio L. - 08-14-2016 08:04 PM
|
User(s) browsing this thread: 1 Guest(s)