~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/elementary/ones.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH ones 1 "April 1993" "Scilab Group" "Scilab Function"
2
 
.so ../sci.an
3
 
.SH NAME
4
 
ones - matrix made of ones
5
 
.SH CALLING SEQUENCE
6
 
.nf
7
 
y=ones(m1,m2,...)
8
 
y=ones(x)
9
 
y=ones()
10
 
.fi
11
 
.SH PARAMETERS
12
 
.TP 10
13
 
x,y
14
 
: matrices
15
 
.TP 10
16
 
m1, m2,..
17
 
: integers
18
 
.SH DESCRIPTION
19
 
Returns a matrix made of ones.
20
 
.TP
21
 
ones(m1,m2) 
22
 
returns a \fV(m1,m2)\fR matrix full of ones.
23
 
.TP
24
 
ones(m1,m2,..,mn) 
25
 
: creates a \fV(m1,m2,..,mn)\fR matrix full of ones.
26
 
.TP
27
 
ones(x) 
28
 
returns a matrix full of ones with the same size that \fVx\fR.
29
 
.TP
30
 
ones(x) 
31
 
is also valid for \fVx\fR a \fVsyslin\fR list.
32
 
.LP
33
 
Note that \fVones(3)\fR is \fVones(a)\fR with \fVa=3\fR i.e it is NOT 
34
 
a 3x3 matrix!
35
 
.LP
36
 
ones() is eqivalent to ones(1,1).
37
 
.SH EXAMPLE
38
 
.nf
39
 
ones(3)
40
 
ones(3,3)
41
 
ones(2,3,2)
42
 
.fi
43
 
.SH SEE ALSO
44
 
eye, zeros
45