lstsq/questions.rst
author Puneeth Chaganti <punchagan@fossee.in>
Wed, 13 Oct 2010 11:13:46 +0530
changeset 314 11869b16d86b
parent 237 6c203780bfbe
child 330 efb8ddf26aff
permissions -rw-r--r--
Getting started with sagenotebook LO - script and questions.

Objective Questions
-------------------

 1. What does ones_like([1, 2, 3]) produce

   a. array([1, 1, 1])
   #. [1, 1, 1]
   #. [1.0, 1.0, 1.0]
   #. Error
   
 2. What does ones_like([1.2, 3, 4, 5]) produce

   a. [1.2, 3, 4, 5]
   #. array([1.0, 1.0, 1.0, 1.0])
   #. array([1, 1, 1, 1])
   #. array([1.2, 3, 4, 5])