libigl v2.5.0
Loading...
Searching...
No Matches
mod.h File Reference
#include "igl_inline.h"
#include "PlainMatrix.h"
#include <Eigen/Core>
#include "mod.cpp"

Go to the source code of this file.

Namespaces

namespace  igl

Functions

template<typename DerivedA, typename DerivedB>
void igl::mod (const Eigen::MatrixBase< DerivedA > &A, const int base, Eigen::PlainObjectBase< DerivedB > &B)
 Compute elementwise mod: B = A % base.
template<typename DerivedA>
igl::PlainMatrix< DerivedA > igl::mod (const Eigen::MatrixBase< DerivedA > &A, const int base)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.