Code covered by the BSD License  

Highlights from
trilin

trilin

by

 

Facilitates the reuse of matrix factorizations in large dense linear algebra problems.

lapack_int_type ()
function answer = lapack_int_type ()
    persistent answer2
    if isempty(answer2)
        temp = computer();
        if strcmp(temp(end-1:end), '64')
            answer2 = 'int64';
        else
            answer2 = 'int32';
        end
        %answer2 = 'int8';  % ideallly
    end
    answer = answer2;
end

Contact us