Questions tagged [armadillo]

Armadillo is a linear algebra library for C++ that makes use of template metaprogramming and delayed evaluation.

Armadillo is an open-source C++ linear algebra library (matrix maths) aiming towards a good balance between speed and ease of use. The syntax is deliberately similar to Matlab.

Integer, floating point and complex numbers are supported, as well as a subset of trigonometric and statistics functions. Various matrix decompositions are provided through optional integration with LAPACK, or one of its high performance drop-in replacements (such as the multi-threaded MKL or ACML libraries).

A delayed evaluation approach is employed (during compile time) to combine several operations into one and reduce (or eliminate) the need for temporaries. This is accomplished through recursive templates and template meta-programming.

This library is useful if C++ has been decided as the language of choice, due to speed and/or integration capabilities. It is distributed under a license that is useful in both open-source and commercial contexts.

Armadillo is primarily developed at NICTA (Australia), with contributions from around the world.

Information about Armadillo is available at http://arma.sourceforge.net.

1054 questions
-3
votes
2 answers

Moving from sourceCpp to a package with RcppArmadillo

This is somewhat related to the post regarding moving from sourceCpp to a package with Rcpp Moving from sourceCpp to a package w/Rcpp. However, I am using RcppArmadillo on a Mac OS X 10.10.4 and have had trouble getting a package to work. The file…
-3
votes
1 answer

How much memory is required to store a matrix using the armadillo linear algebra package?

I am getting the same value on using the sizeOf operator for a matrix of size 100*100 and 1*1 respectively. mat A(100,100),B(1,1); A.randu(); B.randu(); cout<<"Memory requested for A:"<
backcoder
  • 57
  • 7
-3
votes
2 answers

Calling functions in a c++ dll from c# that are defined in another dll

I have already been able to read functions in a c++ dll that contains methods like this: extern "C" { __declspec(dllexport) Vector4 resta(Vector4 vector1,Vector4 vector2); } I have been given a dll that implements the following function: extern…
carlos palma
  • 722
  • 3
  • 12
  • 29
-4
votes
1 answer

'mutex': is not a member of 'std', error when using Armadillo in CLR

I am using Armadillo in c++ CLR, when I include armadillo in my solution and building it, I get this error: missing type specifier - int assumed. Note: C++ does not support default-int 'mutex': is not a member of 'std' 'cache-mutex':unknown override…
1 2 3
70
71