c++ - Determinant of integer matrix with armadillo -
i have function parameter const arma::imat & a
. , apart other things want calculate determinant of input matrix a. hence did
int det = arma::det(a);
but during compilation next error:
error: no matching function phone call 'det' int det = arma::det(a);
i tried google found nil address problem. ideas please might problem?
reading doc, think have utilize conv_to<type>::from
able phone call det
defined imat::mat
.
c++ armadillo
No comments:
Post a Comment