scifir-units 2.0.0
scifir-units is a library of units of measurement, angles, coordinates, fields, and related data, all lightweight, that help in the development of scientific software and scientific machines
|
#include <matrix.hpp>
Public Member Functions | |
matrix () | |
matrix (initializer_list< vector< T > > x) | |
virtual matrix< T, M, N > * | clone () const |
int | row_size () const |
int | column_size () const |
matrix< T, 1, N > | row (int i) const |
matrix< T, M, 1 > | column (int j) const |
const T & | operator() (int i, int j) const |
T & | operator() (int i, int j) |
matrix< T, M, N > | operator+ (const matrix< T, M, N > &x) |
matrix< T, M, N > | operator- (const matrix< T, M, N > &x) |
template<int N2> | |
matrix< T, N, N2 > | operator* (const matrix< T, N, N2 > &x) |
template<typename U , typename = typename enable_if<is_integer_number<T>::value>::type> | |
matrix< T, M, N > | operator^ (U x) |
void | operator+= (const matrix< T, M, N > &x) |
void | operator-= (const matrix< T, M, N > &x) |
template<typename U , typename = typename enable_if<is_integer_number<T>::value>::type> | |
void | operator^= (U x) |
matrix< T, N, M > | t () const |
bool | is_square () const |
bool | is_diagonal () const |
Private Member Functions | |
bool | outside_row_limits (int i) const |
bool | outside_column_limits (int i) const |
bool | outside_limits (int i, int j) const |
Private Attributes | |
vector< vector< T > > | data |
Definition at line 15 of file matrix.hpp.
Definition at line 18 of file matrix.hpp.
|
inline |
Definition at line 21 of file matrix.hpp.
Definition at line 45 of file matrix.hpp.
Definition at line 74 of file matrix.hpp.
Definition at line 55 of file matrix.hpp.
Definition at line 211 of file matrix.hpp.
Definition at line 199 of file matrix.hpp.
Definition at line 97 of file matrix.hpp.
Definition at line 88 of file matrix.hpp.
|
inline |
Definition at line 121 of file matrix.hpp.
Definition at line 106 of file matrix.hpp.
Definition at line 147 of file matrix.hpp.
Definition at line 113 of file matrix.hpp.
Definition at line 158 of file matrix.hpp.
Definition at line 140 of file matrix.hpp.
Definition at line 170 of file matrix.hpp.
Definition at line 238 of file matrix.hpp.
Definition at line 247 of file matrix.hpp.
Definition at line 229 of file matrix.hpp.
Definition at line 60 of file matrix.hpp.
Definition at line 50 of file matrix.hpp.
Definition at line 186 of file matrix.hpp.
Definition at line 227 of file matrix.hpp.