Post Reply 
User function help?
10-23-2020, 10:28 PM
Post: #1
User function help?
Hello

Is there a way to link some kind of help to the developed user functions?

For example, I have prepared a short program to find the matrix for base change:
EXPORT chbase(d)
BEGIN
// Program to get the matrix to change
//vectors in base A to base B

// d es is the dimension of the bases

local A,B,Mab;

A:=MAKEMAT(0,d,d);
// Put the base vectors in columns
A:=EDITMAT(A);

B:=MAKEMAT(0,d,d);
B:=EDITMAT(B);

// Be C the canonical base
// Mab = Mcb.Mac = Mbc^−1.Mac

// Since the bases are given in C base
//then A = Mac & B = Mbc

Mab:=B^−1*A;

RETURN Mab;
END;

When I search in the "User" menu: Chbase, in the command line appears:
Chbase()

This does not give any information of what do I have to put in brackets.
With the HP Prime functions (like "eigVc()" )you can put in the brackets and press Help to look for information regarding how this function works.

Is it possible with user functions to do the same?

Thanks

Toni
Find all posts by this user
Quote this message in a reply
10-24-2020, 04:03 AM
Post: #2
RE: User function help?
Hi,
You can’t customize the built in help. Cyrille gave a suggestion here: https://www.hpmuseum.org/forum/thread-14...light=Help

Thibault - not collector but in love with the few HP models I own - Also musician : http://walruspark.co
Find all posts by this user
Quote this message in a reply
10-24-2020, 10:41 AM
Post: #3
RE: User function help?
Thanks, I will have a look on that
Find all posts by this user
Quote this message in a reply
Post Reply 




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