Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - Русский

Change language to:
English - Français - 日本語 - Português -

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Справка Scilab >> Linear Algebra > Kernel > colcomp

colcomp

column compression, kernel, nullspace

Syntax

[W,rk]=colcomp(A [,flag] [,tol])

Arguments

A

real or complex matrix

flag

character string

tol

real number

W

square non-singular matrix (change of basis)

rk

integer (rank of A)

Description

Column compression of A: Ac = A*W is column compressed i.e

Ac=[0,Af] with Af full column rank, rank(Af) = rank(A) = rk.

flag and tol are optional parameters: flag = 'qr' or 'svd' (default is 'svd').

tol = tolerance parameter (of order %eps as default value).

The ma-rk first columns of W span the kernel of A when size(A)=(na,ma)

Examples

A=rand(5,2)*rand(2,5);
[X,r]=colcomp(A);
norm(A*X(:,1:$-r),1)

See also

  • rowcomp — row compression, range
  • fullrf — full rank factorization
  • fullrfk — full rank factorization of A^k
  • kernel — kernel, null space
Report an issue
<< Kernel Kernel im_inv >>

Copyright (c) 2022-2023 (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 Jan 03 14:39:53 CET 2022