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

« back to all changes in this revision

Viewing changes to man/programming/varn.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 varn 1 "April 1993" "Scilab Group" "Scilab Function"
2
 
.so ../sci.an
3
 
.SH NAME
4
 
varn - symbolic variable of a polynomial
5
 
.SH CALLING SEQUENCE
6
 
.nf
7
 
[symb]=varn(p)
8
 
[pm]=varn(x,var)
9
 
.fi
10
 
.SH PARAMETERS
11
 
.TP 10
12
 
p
13
 
: polynomial (or matrix polynomial)
14
 
.TP 10
15
 
symb
16
 
: character string
17
 
.TP 10
18
 
x
19
 
: polynomial or polynomial matrix
20
 
.TP 10
21
 
var
22
 
: symbolic variable (character string)
23
 
.TP 10
24
 
pm
25
 
: matrix or polynomial matrix
26
 
.SH DESCRIPTION
27
 
\fVsymb=varn(p)\fR returns in \fVsymb\fR the symbolic variable of the polynomial \fVp\fR
28
 
(i.e. \fVvarn(poly(0,'x'))\fR is \fV'x'\fR).
29
 
.LP
30
 
\fVvarn(x,'s')\fR returns a polynomial matrix with same coefficients
31
 
as \fVx\fR but with \fV's'\fR as symbolic variable (change of variable name).
32
 
.SH EXAMPLE
33
 
.nf
34
 
s=poly(0,'s');p=[s^2+1,s];
35
 
.fi
36
 
\fVvarn(p)\fR is the string \fV's'\fR and \fVvarn(p,'x')\fR is the polynomial matrix
37
 
\fV[x^2+1,x]\fR
38
 
.SH SEE ALSO
39
 
horner, poly