Page 1 sur 1
Problems with is_cospheric
Publié : dim. déc. 23, 2018 6:35 pm
par belanger
The is_cospheric documentation that you get from the help index in Xcas says:
Test if 5 points are on the same sphere.
is_cospheric(Pnt,Pnt,Pnt,Pnt)
is_cospheric([-1,0,0],[1,0,0],[0,1,0],[0,-1,0],[0,0,1])
It states it test five points but the template shows four.
But the bigger issue is that it doesn't evaluate; if I enter
is_cospheric([-1,0,0],[1,0,0],[0,1,0],[0,-1,0],[0,0,1])
in return I get the same thing, unevaluated.
Re: Problems with is_cospheric
Publié : lun. déc. 24, 2018 6:01 pm
par parisse
It seems there is a type somewhere, I see is_cospherical in the source. What is the right English word?
Re: Problems with is_cospheric
Publié : lun. déc. 24, 2018 10:30 pm
par belanger
I've seen cospherical in English, but not cospheric. So I would say that cospherical is preferable.
The is_cospherical command works as it should, then; it's just that the documentation (including the help index and the command highlighting in Xcas) has is_cospheric.
Jay
Re: Problems with is_cospheric
Publié : mar. déc. 25, 2018 6:58 am
par parisse
Yes. My question was should we keep is_cospheric or is_cospherical?
Re: Problems with is_cospheric
Publié : mar. déc. 25, 2018 11:16 pm
par belanger
I would think
is_cospherical
would be better.
Re: Problems with is_cospheric
Publié : mer. déc. 26, 2018 1:31 pm
par compsystems
and as a suggestion, all is_* commands return the "constant" true/false instead of the numerical values synonymous (1/0) since we are in a symbolic environment
Re: Problems with is_cospheric
Publié : mer. déc. 26, 2018 2:21 pm
par parisse
belanger a écrit : ↑mar. déc. 25, 2018 11:16 pm
I would think
is_cospherical
would be better.
Ok, I'm updating the documentation. Thank you!