Monday, 8 February 2010

LU Decomposition in Prolog

:- use_module(library(clpr)).

// various obvious bits of matrix machinary.

lu_decompose(M, L*U) :-

1 comment:

Jacqueline said...

hello, I'm programming in prolog but the LU code do not understand, you like help?, tried to make a code that factoring a matrix, given a matrix factors tell me .... I do not speak English, nor write, google translator helped me .. thanks:)

Factorizacionmatriz (M, M1, M2): - .... : (

M = matrix
M1 = factor 1
M2 = factor 2
Returns the values of M1 and M2