Public Member Functions | |
| auto | index (row:core::ffi::c_int) const -> &meshlib::Vector2i64 |
| auto | index_mut (row:core::ffi::c_int) -> &mut meshlib::Vector2i64 |
| auto | col (i:core::ffi::c_int) const -> meshlib::Vector2i64 |
| auto | trace () const -> i64 |
| auto | norm_sq () const -> i64 |
| auto | norm () const -> f64 |
| auto | det () const -> i64 |
| auto | transposed () const -> meshlib::Matrix2i64 |
Static Public Member Functions | |
| static auto | new () -> meshlib::Matrix2i64 |
| static auto | construct (x:&meshlib::Vector2i64, y:&meshlib::Vector2i64) -> meshlib::Matrix2i64 |
| static auto | zero () -> meshlib::Matrix2i64 |
| static auto | identity () -> meshlib::Matrix2i64 |
| static auto | scale_1_int64_t (s:i64) -> meshlib::Matrix2i64 |
| static auto | scale_2 (sx:i64, sy:i64) -> meshlib::Matrix2i64 |
| static auto | scale_1_mr_vector2i64 (s:&meshlib::Vector2i64) -> meshlib::Matrix2i64 |
| static auto | from_rows (x:&meshlib::Vector2i64, y:&meshlib::Vector2i64) -> meshlib::Matrix2i64 |
| static auto | from_columns (x:&meshlib::Vector2i64, y:&meshlib::Vector2i64) -> meshlib::Matrix2i64 |
Public Attributes | |
| meshlib::Vector2i64 | x |
| rows, identity matrix by default | |
| meshlib::Vector2i64 | y |
arbitrary 2x2 matrix Generated from class MR::Matrix2i64.
Generated from struct MR::Matrix2i64. The fields are accessed directly.
| auto meshlib::Matrix2i64::col | ( | i:core::ffi::c_int | ) | const -> meshlib::Vector2i64 |
column access Generated from method MR::Matrix2i64::col.
Calls MR_Matrix2i64_col().
|
static |
initializes matrix from its 2 rows Generated from constructor MR::Matrix2i64::Matrix2i64.
Calls MR_Matrix2i64_Construct(). The reference to the parameter x might be preserved in the constructed object. The reference to the parameter y might be preserved in the constructed object.
| auto meshlib::Matrix2i64::det | ( | ) | const -> i64 |
computes determinant of the matrix Generated from method MR::Matrix2i64::det.
Calls MR_Matrix2i64_det().
|
static |
constructs a matrix from its 2 columns; use this method to get the matrix that transforms basis vectors ( plusX, plusY ) into vectors ( x, y ) respectively Generated from method MR::Matrix2i64::fromColumns.
Calls MR_Matrix2i64_fromColumns().
|
static |
constructs a matrix from its 2 rows Generated from method MR::Matrix2i64::fromRows.
Calls MR_Matrix2i64_fromRows().
|
static |
Generated from method MR::Matrix2i64::identity.
Calls MR_Matrix2i64_identity().
| auto meshlib::Matrix2i64::index | ( | row:core::ffi::c_int | ) | const -> &meshlib::Vector2i64 |
row access Generated from method MR::Matrix2i64::operator[].
Calls MR_Matrix2i64_index().
| auto meshlib::Matrix2i64::index_mut | ( | row:core::ffi::c_int | ) | -> &mut meshlib::Vector2i64 |
Generated from method MR::Matrix2i64::operator[].
Calls MR_Matrix2i64_index_mut().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Matrix2i64_DefaultConstruct().
| auto meshlib::Matrix2i64::norm | ( | ) | const -> f64 |
Generated from method MR::Matrix2i64::norm.
Calls MR_Matrix2i64_norm().
| auto meshlib::Matrix2i64::norm_sq | ( | ) | const -> i64 |
compute sum of squared matrix elements Generated from method MR::Matrix2i64::normSq.
Calls MR_Matrix2i64_normSq().
|
static |
returns a matrix that scales uniformly Generated from method MR::Matrix2i64::scale.
Calls MR_Matrix2i64_scale_1_int64_t().
|
static |
Generated from method MR::Matrix2i64::scale.
Calls MR_Matrix2i64_scale_1_MR_Vector2i64().
|
static |
returns a matrix that has its own scale along each axis Generated from method MR::Matrix2i64::scale.
Calls MR_Matrix2i64_scale_2().
| auto meshlib::Matrix2i64::trace | ( | ) | const -> i64 |
computes trace of the matrix Generated from method MR::Matrix2i64::trace.
Calls MR_Matrix2i64_trace().
| auto meshlib::Matrix2i64::transposed | ( | ) | const -> meshlib::Matrix2i64 |
computes transposed matrix Generated from method MR::Matrix2i64::transposed.
Calls MR_Matrix2i64_transposed().
|
static |
Generated from method MR::Matrix2i64::zero.
Calls MR_Matrix2i64_zero().
| meshlib::Vector2i64 meshlib::Matrix2i64::x |
rows, identity matrix by default
| meshlib::Vector2i64 meshlib::Matrix2i64::y |