File: percent.man

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 (24 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.TH percent 1 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
percent (%) - special character
.SH DESCRIPTION
Some predefined variables begin with \fV%\fR, such as
\fV%i\fR (for \fVsqrt(-1)\fR), \fV%inf\fR (for \fVInfinity\fR), \fV%pi\fR (for \fV3.14...\fR),
\fV%T\fR (for the boolean variable \fV"true"\fR),...
.LP
In addition, functions whose names begin with \fV%\fR are special : 
they are used for coding (extensions of usual) operations .
.LP
For example the function \fV%rmr\fR performs the multiplication (\fVm\fR)
operation \fVx*y\fR for \fVx\fR and \fVy\fR rational matrices (\fVr\fR).
The coding conventions are given by the readme file in 
directory \fVSCIDIR/macros/percent\fR.
.SH EXAMPLE
.nf
x1=tlist('x',1,2);
x2=tlist('x',2,3);
deff('x=%xmx(x1,x2)','x=list(''x'',x1(2)*x2(2),x2(3)*x2(3))');
x1*x2
.fi