10-23-2020, 10:28 PM
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
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