|
Contents | Previous | Next | Subchapters |
| Syntax |
y = pinv(x) |
y = pinv(x, tol) | |
| See Also null , orth , svd |
x * y * x = x
y * x * y = y
and both x * y and y * x are Hermitian.
If x is an integer matrix,
y is double-precision.
Otherwise y has the same type as x.
The dimensions of y are equal to the dimensions of
the transpose of x.
eps * max([rowdim(x), coldim(x)]) * smax
is used where smax is the maximum absolute singular value
of x.
x = { [1 , 1], [2 , 2] }
y = pinv(x)
y
O-Matrix will reply
{
[ 0.1 , 0.2 ]
[ 0.1 , 0.2 ]
}
Continuing with
x * y * x
results in
{
[ 1 , 1 ]
[ 2 , 2 ]
}
and
y * x * y
results in
{
[ 0.1 , 0.2 ]
[ 0.1 , 0.2 ]
}