Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - English


determ

determinant of a matrix of polynomials

Syntax

res = determ(W)
res = determ(W, k)

Arguments

W

square matrix of real or complex polynomials

k

integer (upper bound for the degree of the determinant of W)

Description

returns the determinant of a matrix of polynomials.

res=determ(W [,k]) where k is an integer larger than the actual degree of the determinant of W.

The default value of k is the smallest power of 2 which is larger than n*max(degree(W)).

Method (Only if W size is greater than 2*2) : evaluate the determinant of W for the Fourier frequencies and apply inverse FFT to the coefficients of the determinant.

Examples

s = %s;
P = [5+3*s, 1-5*s, -4+6*s ; -3+5*s, -3*s, -9 ; 8*s, -6-2*s, 4-6*s]
determ(P)
--> P = [5+3*s, 1-5*s, -4+6*s ; -3+5*s, -3*s, -9 ; 8*s, -6-2*s, 4-6*s]
 P  =
  5 +3s   1 -5s   -4 +6s

  -3 +5s  -3s     -9

  8s      -6 -2s  4 -6s

--> determ(P)
 ans  =
  -330 -278s +380s² -12s³

See also

  • det — determinant of a square matrix
  • detr — determinant of a matrix of rationals
  • coffg — Co-factors of a matrix of polynomials or rationals
Report an issue
<< derivat Polynomials detr >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jun 17 17:49:16 CEST 2024