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

« back to all changes in this revision

Viewing changes to man/programming/percent.cat

  • 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
 
percent           Scilab Group           Scilab Function            percent
2
 
NAME
3
 
   percent (%) - special character
4
 
  
5
 
DESCRIPTION
6
 
   Some predefined variables begin with %, such as %i (for sqrt(-1)), %inf
7
 
  (for Infinity), %pi (for 3.14...), %T (for the boolean variable
8
 
  "true"),...
9
 
  
10
 
   In addition, functions whose names begin with % are special :  they are
11
 
  used for coding (extensions of usual) operations .
12
 
  
13
 
   For example the function %rmr performs the multiplication (m) operation
14
 
  x*y for x and y rational matrices (r). The coding conventions are given
15
 
  by the readme file in  directory SCIDIR/macros/percent.
16
 
  
17
 
EXAMPLE
18
 
 x1=tlist('x',1,2);
19
 
 x2=tlist('x',2,3);
20
 
 deff('x=%xmx(x1,x2)','x=list(''x'',x1(2)*x2(2),x2(3)*x2(3))');
21
 
 x1*x2
22
 
   
23