



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
Prepara tus exámenes
Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Prepara tus exámenes con los documentos que comparten otros estudiantes como tú en Docsity
Encuentra los documentos específicos para los exámenes de tu universidad
Estudia con lecciones y exámenes resueltos basados en los programas académicos de las mejores universidades
Responde a preguntas de exámenes reales y pon a prueba tu preparación
Consigue puntos base para descargar
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Comunidad
Pide ayuda a la comunidad y resuelve tus dudas de estudio
Ebooks gratuitos
Descarga nuestras guías gratuitas sobre técnicas de estudio, métodos para controlar la ansiedad y consejos para la tesis preparadas por los tutores de Docsity
Asignatura: Algebra, Profesor: Juan Rodriguez Jordana, Carrera: Enginyeria Geomàtica i Topografia, Universidad: UPC
Tipo: Ejercicios
1 / 6
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);