



Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!




RandomMatrix(r, c, den, gen, outopts) RandomVector[o](d, den, gen, outopts)
r - (optional) non-negative integer; row dimension of the resulting Matrix c - (optional) non-negative integer; column dimension of the resulting Matrix d - (optional) non-negative integer; dimension of the resulting Vector den - (optional) equation of the form density = p where p is a numeric value with 0 <= p <= 1; probability that a generated value is assigned to an entry in the resulting Matrix or Vector gen - (optional) equation of the form generator = f where f is a generator of values for the entries [o] - (optional) use either [row] or [column] to specify the orientation of the resulting Vector outopts - (optional) equation of the form outputoptions=list; constructor options for the result object
A:=RandomMatrix(4); b:=RandomVector(4);
b :=
s :=
GaussianEliminationF GaussianEliminationF ReducedRowEchelonFormF ReducedRowEchelonFormF ReducedRowEchelonFormF ReducedRowEchelonFormF RREFF RREFF RREFF RREFF
F - the domain of computation, a field
A - rectangular Matrix over values in F
r - name
d - name
B:=; C:=GaussianElimination(B); s:=LinearSolve(B);
OOOOOOOO p,L,U:=LUDecomposition(A); d:=LinearSolve(L,b); s:=LinearSolve(U,d);
p, L, U :=
d :=
s :=
A:=RandomMatrix(5,3); b:=RandomVector(5); At:=Transpose(A): N:=At.A; T:=At.b; LinearSolve(N,T);
b :=
QRDecomposition(A, fs, out, c, outopts, ...)
A - Matrix fs - (optional) BooleanOpt(fullspan); selects whether a full QR factorization is performed out - (optional) equation of the form output = obj where obj is one of 'Q', R', 'NAG', or 'rank', or a list containing one or more of these names; selects result objects to compute c - (optional) BooleanOpt(conjugate); selects whether conjugations are performed in the Gram-Schmidt process outopts - (optional) equation of the form outputoptions[o] = list where o is one of 'Q', 'R', or 'NAG', and list contains options to pass to the result constructor; constructor options for the result object ... - (optional) additional instances of outputoptions[o] = list
Q,R:=QRDecomposition(A); Qt:=Transpose(Q): Qtb:=Qt.b: LinearSolve(R,Qtb);