Graphing several quadrics with the function quadric(), I found this problem with this entry:
quadric(x^2-3y^2-2z-2,[x,y,z])
I get the message:
Elliptical paraboloid with center [-0.0,-0.0,(x^2-3*y^2-2*z-2)/2.0]
And the graph is just a plane. Is this a bug? Or am I doing something wrong? I'm using the latest release compiled from source.
Thanks.
Question about function quadric
Modérateur : xcasadmin
Re: Question about function quadric
This is a bug, thanks for reporting.
Fix:
Fix:
Code : Tout sélectionner
diff /shared/tmp/gauss.cc .
959c959
< gen tmp=normal(subvecteur(multvecteur(-c1/s1,u),multvecteur(c2/s2,v)),contextptr);
---
> gen tmp=normal(-c1/s1*u-c2/s2*v,contextptr);
Re: Question about function quadric
Thanks, it works now 
