I had to declare c ? var("c") ?
Why this one and not the others ?
Le 06/02/2017 à 08:10, Henri Girard a écrit :
Yes, I didn't know exactly the name, but thinking about it I came to
the same conclusion, thank. But my concern is why doesn't it display
and gives an error ?
Le 06/02/2017 à 03:03, Jorge Garcia a écrit :
V3 is a scalar = -60...
On Feb 5, 2017 5:38 PM, "Henri Girard" <henri.gir...@gmail.com
<mailto:henri.gir...@gmail.com>> wrote:
Thanks
Le 05/02/2017 à 23:32, John Cremona a écrit :
V3 is not a vector!
On 5 Feb 2017 21:42, "Henri Girard" <henri.gir...@gmail.com
<mailto:henri.gir...@gmail.com>> wrote:
The third vector is an error, is it a bug ?
v1=vector([3,4,-6])
v2=vector([-4,3,10])
v3=v1.dot_product(v2)
p1=v1.plot(color='red')
p2=v2.plot(color='green')
p3=v3.plot()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
<ipython-input-22-73b179d3596d> in<module>() 4 p1=v1.plot(color='red')5
p2=v2.plot(color='green')---->
6p3=v3.plot()/home/pi/git/sage/src/sage/structure/element.pyx
in sage.structure.element.Element.__getattr__
(/home/pi/git/sage/src/build/cythonized/sage/structure/element.c:4254)()
457 AttributeError:
'LeftZeroSemigroup_with_category.element_class' object has
no attribute 'blah_blah'458 """ --> 459return
self.getattr_from_category(name)460 461 cdef
getattr_from_category(self,
name):/home/pi/git/sage/src/sage/structure/element.pyx in
sage.structure.element.Element.getattr_from_category
(/home/pi/git/sage/src/build/cythonized/sage/structure/element.c:4363)()
470 else:471 cls = P._abstract_element_class--> 472return
getattr_from_other_class(self, cls, name)473 474 def
__dir__(self):/home/pi/git/sage/src/sage/structure/misc.pyx
in sage.structure.misc.getattr_from_other_class
(/home/pi/git/sage/src/build/cythonized/sage/structure/misc.c:1928)()
298 dummy_error_message.cls = type(self)299
dummy_error_message.name = name--> 300raise
dummy_attribute_error301 attribute = <object>attr302 # Check
for a descriptor (__get__ in Python)AttributeError:
'sage.rings.integer.Integer' object has no attribute 'plot'
-- You received this message because you are subscribed to
the Google Groups "sage-support" group. To unsubscribe from
this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com
<mailto:sage-support+unsubscr...@googlegroups.com>. To post
to this group, send email to sage-support@googlegroups.com
<mailto:sage-support@googlegroups.com>. Visit this group at
https://groups.google.com/group/sage-support
<https://groups.google.com/group/sage-support>. For more
options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
-- You received this message because you are subscribed to the
Google Groups "sage-support" group. To unsubscribe from this
group and stop receiving emails from it, send an email to
sage-support+unsubscr...@googlegroups.com
<mailto:sage-support+unsubscr...@googlegroups.com>. To post to
this group, send email to sage-support@googlegroups.com
<mailto:sage-support@googlegroups.com>. Visit this group at
https://groups.google.com/group/sage-support
<https://groups.google.com/group/sage-support>. For more
options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
-- You received this message because you are subscribed to the
Google Groups "sage-support" group. To unsubscribe from this
group and stop receiving emails from it, send an email to
sage-support+unsubscr...@googlegroups.com
<mailto:sage-support+unsubscr...@googlegroups.com>. To post to
this group, send email to sage-support@googlegroups.com
<mailto:sage-support@googlegroups.com>. Visit this group at
https://groups.google.com/group/sage-support
<https://groups.google.com/group/sage-support>. For more options,
visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
-- You received this message because you are subscribed to the Google
Groups "sage-support" group. To unsubscribe from this group and stop
receiving emails from it, send an email to
sage-support+unsubscr...@googlegroups.com
<mailto:sage-support+unsubscr...@googlegroups.com>. To post to this
group, send email to sage-support@googlegroups.com
<mailto:sage-support@googlegroups.com>. Visit this group at
https://groups.google.com/group/sage-support. For more options, visit
https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.