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.
Problems with is_cospheric
Modérateur : xcasadmin
Re: Problems with is_cospheric
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
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
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
Yes. My question was should we keep is_cospheric or is_cospherical?
Re: Problems with is_cospheric
I would think
is_cospherical
would be better.
is_cospherical
would be better.
-
- Messages : 574
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Re: Problems with is_cospheric
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