Revision d3661924f8d555396418399c38395b8ca49cdecb authored by eriszhang on 08 August 2021, 03:00:33 UTC, committed by eriszhang on 08 August 2021, 03:00:33 UTC
1 parent 11f7ded
vector_mod.cpp
#include "vector_mod.h"
void vector_mod(
const Eigen::VectorXi & input,
const int & number,
Eigen::VectorXi & input_mod_number)
{
input_mod_number.resize(input.size());
input_mod_number = input.array() - (number * (input.array()/number));
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...