Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 8 years ago

daviddgl gravatar image

How to find a generalized inverse of a vector in sagemath?

Given a vector u of size n×1. How to find the g-inverse of u?

Is there any specific command like

u.ginv()

to find the ginverse or we have define it?? If so, how to do that?

Any hint will help me lot.

Defn:

for a vector un×1 a vector v1×n is said to be generalized inverse of u if uvu=u.