codac 2.0.0
|
#include <type_traits>
#include "codac2_Interval.h"
#include "codac2_Interval_operations.h"
#include "codac2_assert.h"
#include <Eigen/Core>
#include <Eigen/Dense>
Go to the source code of this file.
Functions | |
template<typename OtherDerived> | |
auto | codac2::abs (const Eigen::MatrixBase< OtherDerived > &x) |
Compute the element-wise absolute value of a matrix. | |
template<typename OtherDerived> requires (!Eigen::IsIntervalDomain<typename OtherDerived::Scalar>) | |
auto | codac2::floor (const Eigen::MatrixBase< OtherDerived > &x) |
Compute the element-wise floor of a matrix. | |
template<typename OtherDerived> requires (!Eigen::IsIntervalDomain<typename OtherDerived::Scalar>) | |
auto | codac2::ceil (const Eigen::MatrixBase< OtherDerived > &x) |
Compute the element-wise ceiling of a matrix. | |
template<typename OtherDerived> requires (!Eigen::IsIntervalDomain<typename OtherDerived::Scalar>) | |
auto | codac2::round (const Eigen::MatrixBase< OtherDerived > &x) |
Compute the element-wise rounding of a matrix. | |
Eigen::IOFormat | codac2::codac_row_fmt () |
Provides an Eigen IOFormat for formatting row vectors. | |
Eigen::IOFormat | codac2::codac_vector_fmt () |
Provides an Eigen IOFormat for formatting column vectors. | |
Eigen::IOFormat | codac2::codac_matrix_fmt () |
Provides an Eigen IOFormat for formatting matrices. | |
This file is included in the declaration of Eigen::MatrixBase, thanks to the preprocessor token EIGEN_MATRIXBASE_PLUGIN. See: https://eigen.tuxfamily.org/dox/TopicCustomizing_Plugins.html
This file is included in the declaration of Eigen::MatrixBase, thanks to the preprocessor token EIGEN_MATRIXBASE_PLUGIN. See: https://eigen.tuxfamily.org/dox/TopicCustomizing_Plugins.html and the file codac2_matrices.h
|
inline |
Compute the element-wise absolute value of a matrix.
This function takes an Eigen matrix expression and returns a matrix where each element is replaced by its absolute value.
For scalar type double, the standard library fabs() is used. For other scalar types, it uses the generic abs() function.
x | Input matrix expression. |
x
.
|
inline |
Compute the element-wise floor of a matrix.
This function returns a matrix where each element is replaced by the largest integer not greater than that element.
Disabled for interval matrices.
x | Input matrix expression. |
|
inline |
Compute the element-wise ceiling of a matrix.
This function returns a matrix where each element is replaced by the smallest integer not less than that element.
Disabled for interval matrices.
x | Input matrix expression. |
|
inline |
Compute the element-wise rounding of a matrix.
This function returns a matrix where each element is replaced by the nearest integer to that element.
Disabled for interval matrices.
x | Input matrix expression. |
|
inline |
Provides an Eigen IOFormat for formatting row vectors.
This format prints elements separated by spaces, with brackets around the entire row vector.
|
inline |
Provides an Eigen IOFormat for formatting column vectors.
This format prints elements separated by semicolons, with brackets around the entire vector.
|
inline |
Provides an Eigen IOFormat for formatting matrices.
This format prints elements separated by commas, rows separated by new lines, and brackets around the entire matrix.