File: ones.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (25 lines) | stat: -rw-r--r-- 484 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

ones(1)                        Scilab Function                        ones(1)
NAME
  ones - matrix made of ones

CALLING SEQUENCE
  [y]=ones(m,n)
  [y]=ones(x)

DESCRIPTION
  Returns a matrix made of ones.

  ones(m,n)
       returns a (m,n) matrix full of ones.

  ones(x)
       returns a matrix full of ones with the same size that x.

  ones(x)
       is also valid for x a syslin list.

  Note that ones(3) is ones(a) with a=3 i.e it is NOT a 3x3 matrix!

SEE ALSO
  eye, zeros