Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

In Maple the command NullSpace turns a given matrix into a set of vectors -- a basis for its null space. This is precisely what it should in a mathematical sense. However, for computations using the obtained basis, it would be more convenient to have as output a matrix whose columns are the basis vectors.

I'm having a hard time converting a set of vectors into a matrix whose columns are the given vectors. The order doesn't matter (of course). Any help greatly appreciated.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Its quite easy:

kern := NullSpace(A)    
Test := Matrix(convert(kern, list))

should perfectly do the job for you (note that it also depends on your exact version of Maple)

share|improve this answer
    
Thanks, works perfectly. –  Rasmus Jan 13 '11 at 8:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.