Unhandled Exception in C# , dnAnalytics class -



Unhandled Exception in C# , dnAnalytics class -

what problem in next code? unhandled exception error, , dont see "not square matrix" output.

unhandled exception: dnanalytics.linearalgebra.matrixnotsquareexception: exception of type 'dnanalytics.linearalgebra.matrixnotsquareexception' thrown.at dnanalytics.linearalgebra.densematrix.inverse () [0x00000] in :0

public static dnanalytics.linearalgebra.matrix calculatetransformation (dnanalytics.linearalgebra.matrix inputmatrix) { dnanalytics.linearalgebra.matrix transposeofinput = new dnanalytics.linearalgebra.densematrix(inputmatrix); transposeofinput= inputmatrix.transpose(); seek { dnanalytics.linearalgebra.matrix intermediate = (inputmatrix*transposeofinput).inverse() ; homecoming transposeofinput*intermediate; } catch(dnanalytics.linearalgebra.matrixnotsquareexception myex) { console.writeline("not square matrix" ); throw myex; } }

solved, overloaded function had problem, not one.

c# exception math matrix unhandled-exception

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -