ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 16 Nov 2017 15:58:26 +0100Random positive definite matrixhttps://ask.sagemath.org/question/39607/random-positive-definite-matrix/ How can I get a random positive definite (or positive semi definite) matrix of given order? I know that there is a inbuilt function random_matrix with an additional feature algorithm to set with it. But there we can get some special matrices like 'echelon_form', 'orthogonal' ', 'echelonizable', 'diagonalizable'.... but positive definite command is not in built there. Some other important matrix classes are not there. So how to obtain random matrix of those classes?Deepak SarmaThu, 16 Nov 2017 15:58:26 +0100https://ask.sagemath.org/question/39607/Is this a bug in QuadraticForm?https://ask.sagemath.org/question/11042/is-this-a-bug-in-quadraticform/ QuadraticForm(ZZ, 2, [3, 2, 0]).lll()
gives a ValueError: a matrix from Full MatrixSpace of 2 by 1 dense matrices over
Integer Ring cannot be converted to a matrix in Full MatrixSpace of 2 by
2 dense matrices over Integer Ring!
Is this a bug or am I missing some precondition?petropolisSun, 22 Jun 2014 05:00:16 +0200https://ask.sagemath.org/question/11042/