On entry, | or . |
On entry, | or . |
On entry, | , or . |
On entry, | . |
On entry, | . |
Open in the MATLAB editor: f01za_example
function f01za_example fprintf('f01za example results\n\n'); a = [1.1, 1.2, 1.3, 1.4; 0, 2.2, 2.3, 2.4; 0, 0, 3.3, 3.4; 0, 0, 0, 4.4]; b = zeros(10, 1); job = 'Pack'; uplo = 'U'; diag = 'N'; [A, ap, ifail] = f01za(job, uplo, diag, a, b); disp('Unpacked Matrix A:'); disp(A); fprintf('\n'); disp('Packed Vector ap:'); disp(ap);
f01za example results Unpacked Matrix A: 1.1000 1.2000 1.3000 1.4000 0 2.2000 2.3000 2.4000 0 0 3.3000 3.4000 0 0 0 4.4000 Packed Vector ap: 1.1000 1.2000 2.2000 1.3000 2.3000 3.3000 1.4000 2.4000 3.4000 4.4000