Skip to contents

Report the version of Armadillo

Usage

armadillo_version(single)

armadillo_version_typed()

Arguments

single

A logical vector indicating whether a single return values is requested, or a named vector with three elements major, minor and patch.

Value

Depending on the value of single, either a single number describing the Armadillo version or a named vector with three elements major, minor and patch. The function armadillo_version_typed returns an S3 object of classes ‘package_version’ and ‘numeric_version’ which offer comparison and formatting operators.

Details

The version is defined by Armadillo in the header arma_version.hpp.

See also

Armadillo header file arma_version.hpp.