~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/programming/inv_coeff.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
inv_coeff          Scilab Group          Scilab Function          inv_coeff
 
2
NAME
 
3
   inv_coeff - build a polynomial matrix from its coefficients
 
4
  
 
5
CALLING SEQUENCE
 
6
 [P]=inv_coeff(C,[,d,[name])
 
7
PARAMETERS
 
8
 C          : big matrix of the coefficients
 
9
            
 
10
 d          : Polynomial matrix degree. optional parameter with default
 
11
            value  d=-1+size(C,'c')/size(C,'r')
 
12
            
 
13
 name       : string giving the polynomial variable name (default value
 
14
            'x').
 
15
            
 
16
DESCRIPTION
 
17
   P=inv_coeff(Mp,k). When \fvk is compatible with Mp   size it returns a
 
18
  polynomial matrix of degree k. C=[C0,C1,...,Ck] and  P= C0 + C1*x +...
 
19
  +Ck*x^k.
 
20
  
 
21
EXAMPLE
 
22
 A=int(10*rand(2,6))
 
23
 // Building a degree 1 polynomial matrix
 
24
 P=inv_coeff(A,1)
 
25
 norm(coeff(P)-A)
 
26
 // Using default value for degree
 
27
 P1=inv_coeff(A)
 
28
 norm(coeff(P1)-A)
 
29
SEE ALSO
 
30
   poly, degree, coeff 
 
31