Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2026-09-03 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Version, Date): RcppArmadillo 15.5.90-1
* inst/NEWS.Rd: Idem
* configure.ac: Idem
* configure: Idem

* inst/include/armadillo*: Armadillo 15.5.90 aka 15.6.0-rc0

2026-07-25 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Version, Date): RcppArmadillo 15.4.2-1
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: RcppArmadillo
Type: Package
Title: 'Rcpp' Integration for the 'Armadillo' Templated Linear Algebra Library
Version: 15.4.2-1
Date: 2026-07-25
Version: 15.5.90-1
Date: 2026-09-03
Authors@R: c(person("Dirk", "Eddelbuettel", role = c("aut", "cre"), email = "edd@debian.org",
comment = c(ORCID = "0000-0001-6419-907X")),
person("Romain", "Francois", role = "aut",
Expand Down
18 changes: 9 additions & 9 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.72 for RcppArmadillo 15.4.2-1.
# Generated by GNU Autoconf 2.72 for RcppArmadillo 15.5.90-1.
#
# Report bugs to <edd@debian.org>.
#
Expand Down Expand Up @@ -603,8 +603,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='RcppArmadillo'
PACKAGE_TARNAME='rcpparmadillo'
PACKAGE_VERSION='15.4.2-1'
PACKAGE_STRING='RcppArmadillo 15.4.2-1'
PACKAGE_VERSION='15.5.90-1'
PACKAGE_STRING='RcppArmadillo 15.5.90-1'
PACKAGE_BUGREPORT='edd@debian.org'
PACKAGE_URL=''

Expand Down Expand Up @@ -1223,7 +1223,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
'configure' configures RcppArmadillo 15.4.2-1 to adapt to many kinds of systems.
'configure' configures RcppArmadillo 15.5.90-1 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1285,7 +1285,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of RcppArmadillo 15.4.2-1:";;
short | recursive ) echo "Configuration of RcppArmadillo 15.5.90-1:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1366,7 +1366,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
RcppArmadillo configure 15.4.2-1
RcppArmadillo configure 15.5.90-1
generated by GNU Autoconf 2.72

Copyright (C) 2023 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1482,7 +1482,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by RcppArmadillo $as_me 15.4.2-1, which was
It was created by RcppArmadillo $as_me 15.5.90-1, which was
generated by GNU Autoconf 2.72. Invocation command line was

$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -3946,7 +3946,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by RcppArmadillo $as_me 15.4.2-1, which was
This file was extended by RcppArmadillo $as_me 15.5.90-1, which was
generated by GNU Autoconf 2.72. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -4001,7 +4001,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
RcppArmadillo config.status 15.4.2-1
RcppArmadillo config.status 15.5.90-1
configured by $0, generated by GNU Autoconf 2.72,
with options \\"\$ac_cs_config\\"

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
AC_PREREQ([2.69])

## Process this file with autoconf to produce a configure script.
AC_INIT([RcppArmadillo],[15.4.2-1],[edd@debian.org])
AC_INIT([RcppArmadillo],[15.5.90-1],[edd@debian.org])

## Set R_HOME, respecting an environment variable if one is set
: ${R_HOME=$(R RHOME)}
Expand Down
14 changes: 14 additions & 0 deletions inst/NEWS.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
\newcommand{\ghpr}{\href{https://github.com/RcppCore/RcppArmadillo/pull/#1}{##1}}
\newcommand{\ghit}{\href{https://github.com/RcppCore/RcppArmadillo/issues/#1}{##1}}

\section{Changes in RcppArmadillo version 15.5.90-1 (2026-09-03)}{
\itemize{
\item Upgraded to Armadillo release 15.5.90 (experimental)
\itemize{
\item Expanded \code{solve()} with \code{solve_opts::scale_thresh}
option to widen detection of poorly conditioned systems
\item Expanded \code{trans()} and \code{.t()} to handle cubes
\item Added \code{permute()} to rearrange dimensions of cubes
(generalised transpose)
\item Added \code{cubemul()} for batched matrix multiplication of cube slices
}
}
}

\section{Changes in RcppArmadillo version 15.4.2-1 (2026-07-25)}{
\itemize{
\item Upgraded to Armadillo release 15.4.2 (Medium Roast Agave)
Expand Down
6 changes: 6 additions & 0 deletions inst/include/armadillo
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ namespace arma
#include "armadillo_bits/op_row_as_mat_bones.hpp"
#include "armadillo_bits/op_col_as_mat_bones.hpp"
#include "armadillo_bits/op_accu_bones.hpp"
#include "armadillo_bits/op_permute_bones.hpp"
#include "armadillo_bits/op_sp_plus_bones.hpp"
#include "armadillo_bits/op_sp_minus_bones.hpp"
#include "armadillo_bits/op_sp_sum_bones.hpp"
Expand Down Expand Up @@ -381,6 +382,7 @@ namespace arma
#include "armadillo_bits/glue_mvnrnd_bones.hpp"
#include "armadillo_bits/glue_quantile_bones.hpp"
#include "armadillo_bits/glue_powext_bones.hpp"
#include "armadillo_bits/glue_cubemul_bones.hpp"

#include "armadillo_bits/gmm_misc_bones.hpp"
#include "armadillo_bits/gmm_diag_bones.hpp"
Expand Down Expand Up @@ -616,6 +618,8 @@ namespace arma
#include "armadillo_bits/fn_powext.hpp"
#include "armadillo_bits/fn_diags_spdiags.hpp"
#include "armadillo_bits/fn_balance.hpp"
#include "armadillo_bits/fn_permute.hpp"
#include "armadillo_bits/fn_cubemul.hpp"

#include "armadillo_bits/fn_speye.hpp"
#include "armadillo_bits/fn_spones.hpp"
Expand Down Expand Up @@ -802,6 +806,7 @@ namespace arma
#include "armadillo_bits/op_row_as_mat_meat.hpp"
#include "armadillo_bits/op_col_as_mat_meat.hpp"
#include "armadillo_bits/op_accu_meat.hpp"
#include "armadillo_bits/op_permute_meat.hpp"
#include "armadillo_bits/op_sp_plus_meat.hpp"
#include "armadillo_bits/op_sp_minus_meat.hpp"
#include "armadillo_bits/op_sp_sum_meat.hpp"
Expand Down Expand Up @@ -841,6 +846,7 @@ namespace arma
#include "armadillo_bits/glue_mvnrnd_meat.hpp"
#include "armadillo_bits/glue_quantile_meat.hpp"
#include "armadillo_bits/glue_powext_meat.hpp"
#include "armadillo_bits/glue_cubemul_meat.hpp"

#include "armadillo_bits/gmm_misc_meat.hpp"
#include "armadillo_bits/gmm_diag_meat.hpp"
Expand Down
4 changes: 4 additions & 0 deletions inst/include/armadillo_bits/BaseCube_bones.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ struct BaseCube
{
arma_inline const derived& get_ref() const;

arma_warn_unused inline const OpCube<derived,op_htrans> t() const;
arma_warn_unused inline const OpCube<derived,op_htrans> ht() const;
arma_warn_unused inline const OpCube<derived,op_strans> st() const;

arma_cold inline void print( const std::string extra_text = "") const;
arma_cold inline void print(std::ostream& user_stream, const std::string extra_text = "") const;

Expand Down
30 changes: 30 additions & 0 deletions inst/include/armadillo_bits/BaseCube_meat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,36 @@ BaseCube<elem_type,derived>::get_ref() const



template<typename elem_type, typename derived>
inline
const OpCube<derived,op_htrans>
BaseCube<elem_type,derived>::t() const
{
return OpCube<derived,op_htrans>( static_cast<const derived&>(*this) );
}



template<typename elem_type, typename derived>
inline
const OpCube<derived,op_htrans>
BaseCube<elem_type,derived>::ht() const
{
return OpCube<derived,op_htrans>( static_cast<const derived&>(*this) );
}



template<typename elem_type, typename derived>
inline
const OpCube<derived,op_strans>
BaseCube<elem_type,derived>::st() const
{
return OpCube<derived,op_strans>( static_cast<const derived&>(*this) );
}



template<typename elem_type, typename derived>
inline
void
Expand Down
8 changes: 0 additions & 8 deletions inst/include/armadillo_bits/Cube_bones.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,14 +406,6 @@ class Cube : public BaseCube< eT, Cube<eT> >
arma_cold inline bool load(const hdf5_name& spec, const file_type type = hdf5_binary);
arma_cold inline bool load( std::istream& is, const file_type type = auto_detect);

[[deprecated("use save() instead")]] inline bool quiet_save(const std::string name, const file_type type = arma_binary) const;
[[deprecated("use save() instead")]] inline bool quiet_save(const hdf5_name& spec, const file_type type = hdf5_binary) const;
[[deprecated("use save() instead")]] inline bool quiet_save( std::ostream& os, const file_type type = arma_binary) const;

[[deprecated("use load() instead")]] inline bool quiet_load(const std::string name, const file_type type = auto_detect);
[[deprecated("use load() instead")]] inline bool quiet_load(const hdf5_name& spec, const file_type type = hdf5_binary);
[[deprecated("use load() instead")]] inline bool quiet_load( std::istream& is, const file_type type = auto_detect);


// iterators

Expand Down
76 changes: 2 additions & 74 deletions inst/include/armadillo_bits/Cube_meat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4716,7 +4716,7 @@ Cube<eT>::save(const hdf5_name& spec, const file_type type) const
{
Cube<eT> tmp;

op_strans_cube::apply_noalias(tmp, (*this));
op_strans::apply_cube_noalias(tmp, (*this));

save_okay = diskio::save_hdf5_binary(tmp, spec, err_msg);
}
Expand Down Expand Up @@ -4879,7 +4879,7 @@ Cube<eT>::load(const hdf5_name& spec, const file_type type)

load_okay = diskio::load_hdf5_binary(tmp, spec, err_msg);

if(load_okay) { op_strans_cube::apply_noalias((*this), tmp); }
if(load_okay) { op_strans::apply_cube_noalias((*this), tmp); }
}
else
{
Expand Down Expand Up @@ -4967,78 +4967,6 @@ Cube<eT>::load(std::istream& is, const file_type type)



template<typename eT>
inline
bool
Cube<eT>::quiet_save(const std::string name, const file_type type) const
{
arma_debug_sigprint();

return (*this).save(name, type);
}



template<typename eT>
inline
bool
Cube<eT>::quiet_save(const hdf5_name& spec, const file_type type) const
{
arma_debug_sigprint();

return (*this).save(spec, type);
}



template<typename eT>
inline
bool
Cube<eT>::quiet_save(std::ostream& os, const file_type type) const
{
arma_debug_sigprint();

return (*this).save(os, type);
}



template<typename eT>
inline
bool
Cube<eT>::quiet_load(const std::string name, const file_type type)
{
arma_debug_sigprint();

return (*this).load(name, type);
}



template<typename eT>
inline
bool
Cube<eT>::quiet_load(const hdf5_name& spec, const file_type type)
{
arma_debug_sigprint();

return (*this).load(spec, type);
}



template<typename eT>
inline
bool
Cube<eT>::quiet_load(std::istream& is, const file_type type)
{
arma_debug_sigprint();

return (*this).load(is, type);
}



template<typename eT>
inline
typename Cube<eT>::iterator
Expand Down
10 changes: 0 additions & 10 deletions inst/include/armadillo_bits/Mat_bones.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,16 +583,6 @@ class Mat : public Base< eT, Mat<eT> >
arma_cold inline bool load(const csv_name& spec, const file_type type = csv_ascii);
arma_cold inline bool load( std::istream& is, const file_type type = auto_detect);

[[deprecated("use save() instead")]] inline bool quiet_save(const std::string name, const file_type type = arma_binary) const;
[[deprecated("use save() instead")]] inline bool quiet_save(const hdf5_name& spec, const file_type type = hdf5_binary) const;
[[deprecated("use save() instead")]] inline bool quiet_save(const csv_name& spec, const file_type type = csv_ascii) const;
[[deprecated("use save() instead")]] inline bool quiet_save( std::ostream& os, const file_type type = arma_binary) const;

[[deprecated("use load() instead")]] inline bool quiet_load(const std::string name, const file_type type = auto_detect);
[[deprecated("use load() instead")]] inline bool quiet_load(const hdf5_name& spec, const file_type type = hdf5_binary);
[[deprecated("use load() instead")]] inline bool quiet_load(const csv_name& spec, const file_type type = csv_ascii);
[[deprecated("use load() instead")]] inline bool quiet_load( std::istream& is, const file_type type = auto_detect);


// for container-like functionality

Expand Down
Loading