Opened 10 years ago

Last modified 5 years ago

#6769 new defect

Documentation for vector() does not match behavior

Reported by: rbeezer Owned by: was
Priority: minor Milestone: sage-6.4
Component: linear algebra Keywords: vector documentation
Cc: knsam Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

The documentation for the vector constructor (vector() in sage/modules/free_module_element.pyx) could use some improvement, since the "call formats" do not include all the possibilities and the description is a bit confusing. For example:

  1. elts is listed as an input, but nowhere is it stated just where this could be provided as an input.
  1. vector(QQ, 3, [1,2,3]) is a legitimate construction but the documentation does not describe it anywhere.

Change History (5)

comment:1 Changed 6 years ago by knsam

  • Cc knsam added
  • Report Upstream set to N/A

comment:2 Changed 6 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:3 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:4 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:5 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4
Note: See TracTickets for help on using tickets.