can index starts from zero

Manjusha Joshi manjusha.joshi at gmail.com
Mon Oct 25 11:57:57 CEST 2010


Hello,

If I define V=[ 2, 3,4]
V(1)=2
Can I set index such that V(0)=2

I need it in implementation of Numerical Analysis algorithms.
Like in case of Lagrange interpolation

index starts from 0 and then we need to adjust  formula at several places to
implement it in  Scilab  other wise.

Thanks in advance.

-- 
Manjusha S. Joshi
P.I. of project on Use of Open source software for Teaching Maths,
 http://fossme.bprim.org
Lecturer in Computational  Mathematics,
BIM, Pune, India. www.bprim.org
Mobile:  09822 319328
blog:http://manjushajoshi.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20101025/4f908c71/attachment.htm>


More information about the users mailing list