matrix/operators.hpp File Reference
#include <nil/crypto3/algebra/matrix/matrix.hpp>
Include dependency graph for matrix/operators.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
nil | |
nil::crypto3 | |
nil::crypto3::algebra | |
Functions | |
template<typename T , std::size_t N, std::size_t M> | |
constexpr bool | nil::crypto3::algebra::operator!= (const matrix< T, N, M > &a, const matrix< T, N, M > &b) |
checks inequality of two matrices More... | |
template<typename T , std::size_t N, std::size_t M> | |
constexpr matrix< T, N, M > | nil::crypto3::algebra::operator* (const matrix< T, N, M > &a, const matrix< T, N, M > &b) |
computes the Hadamard product More... | |
template<typename T , std::size_t N, std::size_t M> | |
constexpr matrix< T, N, M > | nil::crypto3::algebra::operator* (const matrix< T, N, M > &m, T a) |
computes the product of a matrix and a scalar More... | |
template<typename T , std::size_t N, std::size_t M> | |
constexpr matrix< T, N, M > | nil::crypto3::algebra::operator* (T a, const matrix< T, N, M > &m) |
computes the product of a matrix and a scalar More... | |
template<typename T , std::size_t N, std::size_t M> | |
constexpr matrix< T, N, M > | nil::crypto3::algebra::operator+ (const matrix< T, N, M > &a, const matrix< T, N, M > &b) |
computes the matrix sum More... | |
template<typename T , std::size_t N, std::size_t M> | |
constexpr matrix< T, N, M > | nil::crypto3::algebra::operator+ (const matrix< T, N, M > &m, T a) |
computes the sum of a matrix and a scalar More... | |
template<typename T , std::size_t N, std::size_t M> | |
constexpr matrix< T, N, M > | nil::crypto3::algebra::operator+ (T a, const matrix< T, N, M > &m) |
computes the sum of a matrix and a scalar More... | |
template<typename T , std::size_t N, std::size_t M> | |
constexpr matrix< T, N, M > | nil::crypto3::algebra::operator/ (const matrix< T, N, M > &a, const matrix< T, N, M > &b) |
computes the elementwise matrix quotient More... | |
template<typename T , std::size_t N, std::size_t M> | |
constexpr matrix< T, N, M > | nil::crypto3::algebra::operator/ (T a, const matrix< T, N, M > &m) |
computes the quotient between a matrix and a scalar More... | |
template<typename T , std::size_t N, std::size_t M> | |
constexpr bool | nil::crypto3::algebra::operator== (const matrix< T, N, M > &a, const matrix< T, N, M > &b) |
checks equality of two matrices More... | |