Skip to content

Commit

Permalink
main removed here
Browse files Browse the repository at this point in the history
  • Loading branch information
jashwanth committed Jul 17, 2012
1 parent 9bf36f8 commit afa91e3
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions src/LAPACK/inverse.winxed
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,10 @@ function dgetri_exec(var a)
using dgetrf_func.ipiv_size;
int ipiv_size_v;
ipiv_size_v=ipiv_size(a);
// say(ipiv_size_v);
int ipiv[ipiv_size_v];
int i;
for(i=0;i<ipiv_size_v;i++)
ipiv[i]=0;
// say("printing ipiv:\n",ipiv);
//using dgetrf_func.dgetrf_exec;
//int info_dgetrf;
//info_dgetrf=dgetrf_exec(a,ipiv);

say("Given Matrix:");
say(a);
Expand Down Expand Up @@ -77,16 +72,4 @@ function debug(var matrix, string msg, var args [slurpy])

}

function main[main](var args)
{
var pla = loadlib("linalg_group");
var a = new 'NumMatrix2D';
a.initialize_from_args(3, 3,
2.0, -1.0, 1.0,
0.0, 3.0, -3.0,
0.0, 0.0, 2.0);
using dgetri_func.dgetri_exec;
int info;
info=dgetri_exec(a);

}

0 comments on commit afa91e3

Please sign in to comment.