| Author |
Comment/Response |
henri
|
02/25/06 06:10am
I created (in Mathematica 4.1.2) a function
nE2[Eb_]:=Coefficient[Extract[Eb2,{1}],{x, y, z}];
to get then normal-vector of a plane
e.g. {2,-3,1} from Eb=-7+2x-3y+z==0.
In a Notebook it works well.
When I create a package to use this function easily, I always get the result {0,0,0}.
Remark:
If I write the function
nE2[Eb_]:=Coefficient[-7+2x-3y+z],{x, y, z}];
I get the right result {2,-3,1} (but there is of course no meaning in this function).
Is there somebody who ca help me?
With kind regards
Henri
URL: , |
|