Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語
Справка Scilab >> Polynomials > detr

detr

polynomial determinant

Syntax

d=detr(h)

Arguments

h

double or polynomial or rational square matrix

Description

d=detr(h) returns the determinant d of the double or polynomial or rational function matrix h. Based on Leverrier's algorithm.

Examples

// Matrix of doubles
A = rand(5,5);
detr(A)

A = A+%i;
detr(A)

// Matrix of polynomials
x = poly(0, 'x')
A = [1+x 2 5; 3 4-x 3+x; x^2 1 x];
detr(A)

// Matrix of rationals
A = [1/x 2 3; 3 4/x 3/x; 1/x^2 1 1/x];
detr(A)

See also

  • det — determinant
  • determ — determinant of polynomial matrix
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:13:23 CET 2017