On 4/24/12 8:36 AM, Doaa El-Sakout wrote:
Hi
I am using right_kernel to find a kernel, for example the result is
[ 1 0 1 0 -1 0 0]
[ 0 1 1 0 0 0 0]
[ 0 0 0 1 1 0 0]
[ 0 0 0 0 0 1 1]
How can I (for an arbitrary kernel) get positive entries only,
by making a linear combination of rows?
I'm not quite sure what you're asking. When you use right_kernel, you
get a vector space, not a matrix. What types of matrices are you
dealing with (matrices with rational entries?)? If you're dealing with
matrices having rational entries, then since the kernel is a subspace,
the kernel will have vectors with negative entries.
Thanks,
Jason
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org