Post Reply 
Arbitrary integer constant ?
08-30-2015, 04:59 AM (This post was last modified: 08-30-2015 05:16 AM by aiden.)
Post: #1
Arbitrary integer constant ?
Hi,
I'm a looking for symbol regarding arbitrary integer constant in prime hp.

let me give an example for your understanding, (* ti cx has arbitrary integer constant symbol, "n" in the system)
sin (pi/2 * n + pi/4), when n = arbitrary integer constant

Please help me out.
Find all posts by this user
Quote this message in a reply
08-30-2015, 06:37 AM
Post: #2
RE: Arbitrary integer constant ?
Take any variable that is not a HOME variable and run assume, for example
assume(n,integer)
Find all posts by this user
Quote this message in a reply
09-01-2015, 01:35 PM
Post: #3
RE: Arbitrary integer constant ?
(08-30-2015 06:37 AM)parisse Wrote:  Take any variable that is not a HOME variable and run assume, for example
assume(n,integer)

thanks!!
Find all posts by this user
Quote this message in a reply
09-04-2015, 05:51 PM
Post: #4
RE: Arbitrary integer constant ?
How did you ever figure this out,? It does not appear to be documented. integer likewise does not show up in the catalog.

Without you pointing this out, I would have never been able to figure this out. What other keywords are available for use with the assume() command?
Find all posts by this user
Quote this message in a reply
09-04-2015, 06:31 PM
Post: #5
RE: Arbitrary integer constant ?
The HP CAS documentation is not as complete as the Xcas documentation, especially compared to Xcas French documentation. BTW, if someone speaking natively English would is interested to translate the Xcas French doc, please contact me!
Find all posts by this user
Quote this message in a reply
09-04-2015, 06:40 PM
Post: #6
RE: Arbitrary integer constant ?
(09-04-2015 05:51 PM)pwarmuth Wrote:  How did you ever figure this out,? It does not appear to be documented. integer likewise does not show up in the catalog.

Without you pointing this out, I would have never been able to figure this out. What other keywords are available for use with the assume() command?


Not so much help but a pointer, the on-calculator help for additionally() has the specific reference to assume(n,integer)

Code:

Syntax: additionally(Expr) 
Used in programming with assume( ) to state an additional assumption about a variable.
Example: assume(n,integer); additionally(n>5); ➔ [DOM_INT, n]

the on-calculator help for assume() states
Code:

Syntax: assume(Expr) 
Make an assumption on a variable. 
Example: assume(a>0) ➔ a . Now solve(a^2=9,a) will return {3} instead of {-3,3}.

Cheers, Terje
Find all posts by this user
Quote this message in a reply
09-04-2015, 06:48 PM
Post: #7
RE: Arbitrary integer constant ?
(09-04-2015 06:31 PM)parisse Wrote:  The HP CAS documentation is not as complete as the Xcas documentation, especially compared to Xcas French documentation. BTW, if someone speaking natively English would is interested to translate the Xcas French doc, please contact me!

I sent you a PM.
Find all posts by this user
Quote this message in a reply
09-04-2015, 09:25 PM
Post: #8
RE: Arbitrary integer constant ?
(09-04-2015 06:48 PM)pwarmuth Wrote:  
(09-04-2015 06:31 PM)parisse Wrote:  The HP CAS documentation is not as complete as the Xcas documentation, especially compared to Xcas French documentation. BTW, if someone speaking natively English would is interested to translate the Xcas French doc, please contact me!

I sent you a PM.

...but assume and additionally are described in the user guide, in the english one on pages 414 and 415 and there is about, which is not in the manual, and purgte. So you do for example
assume(r,float)
additionally(r>0)
perform what you what
about(r) delivers detailed information about r
purge(r) frees that declaration

Arno
Find all posts by this user
Quote this message in a reply
09-04-2015, 09:56 PM
Post: #9
RE: Arbitrary integer constant ?
Well, I had good intentions but I did not realize that the docs were multiple documents and that some of them are over 800 pages. I've got spare time, but not that kind of time. ABBYY FineReader does a good job of french OCR, but outputting technical formatting like that is not its strong suit and the product of running that text through a translator, even a professional one, is cringe worthy. If I spoke french fluently I'd be more able to help out.

I tried. Sad If I have some sort of breakthrough with this I'll update, but for now I don't expect much.
Find all posts by this user
Quote this message in a reply
09-04-2015, 10:18 PM
Post: #10
RE: Arbitrary integer constant ?
(09-04-2015 09:25 PM)Arno K Wrote:  
(09-04-2015 06:48 PM)pwarmuth Wrote:  I sent you a PM.

...but assume and additionally are described in the user guide, in the english one on pages 414 and 415 and there is about, which is not in the manual, and purgte. So you do for example
assume(r,float)
additionally(r>0)
perform what you what
about(r) delivers detailed information about r
purge(r) frees that declaration

Arno

Now I'm embarrassed. RTFM
Find all posts by this user
Quote this message in a reply
Post Reply 




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