pub struct MatrixSxS<T, const ROWS: usize, const COLUMNS: usize> where
    [(); ROWS * COLUMNS]: , 
{ /* private fields */ }
Expand description

A static x static matrix where both dimensions are known at compile time.

let _ = static_la::MatrixSxS::<i32,2,3>::from([[1, 2, 3], [4, 5, 6]]);

Implementations

An iterator over all elements.

A mutable iterator over all elements.

An iterator over rows.

An iterator over columns.

Number of elements in matrix.

Number of rows.

Number of columns.

Gets sum of all elements.

Gets the sum of each row.

Gets the sum of each column.

Trait Implementations

The resulting type after applying the + operator.

Performs the + operation. Read more

The resulting type after applying the + operator.

Performs the + operation. Read more

The resulting type after applying the + operator.

Performs the + operation. Read more

The resulting type after applying the + operator.

Performs the + operation. Read more

The resulting type after applying the + operator.

Performs the + operation. Read more

The resulting type after applying the + operator.

Performs the + operation. Read more

The resulting type after applying the + operator.

Performs the + operation. Read more

Performs the += operation. Read more

Performs the += operation. Read more

Performs the += operation. Read more

Performs the += operation. Read more

Performs the += operation. Read more

Performs the += operation. Read more

Performs the += operation. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The resulting type after applying the / operator.

Performs the / operation. Read more

The resulting type after applying the / operator.

Performs the / operation. Read more

The resulting type after applying the / operator.

Performs the / operation. Read more

The resulting type after applying the / operator.

Performs the / operation. Read more

The resulting type after applying the / operator.

Performs the / operation. Read more

The resulting type after applying the / operator.

Performs the / operation. Read more

The resulting type after applying the / operator.

Performs the / operation. Read more

Performs the /= operation. Read more

Performs the /= operation. Read more

Performs the /= operation. Read more

Performs the /= operation. Read more

Performs the /= operation. Read more

Performs the /= operation. Read more

Performs the /= operation. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

The returned type after indexing.

Performs the indexing (container[index]) operation. Read more

Performs the mutable indexing (container[index]) operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

Performs the *= operation. Read more

Performs the *= operation. Read more

Performs the *= operation. Read more

Performs the *= operation. Read more

Performs the *= operation. Read more

Performs the *= operation. Read more

Performs the *= operation. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Given a range of rows and a range of columns returns a MatrixDxD holding references to the value within the ranges. Read more

Given a range of rows and a constant range of columns returns a MatrixDxS holding references to the value within the ranges. Read more

Given a constant range of rows and a range of columns returns a MatrixSxD holding references to the value within the ranges. Read more

Given a constant range of rows and a constant range of columns returns a MatrixSxS holding references to the value within the ranges. Read more

The resulting type after applying the - operator.

Performs the - operation. Read more

The resulting type after applying the - operator.

Performs the - operation. Read more

The resulting type after applying the - operator.

Performs the - operation. Read more

The resulting type after applying the - operator.

Performs the - operation. Read more

The resulting type after applying the - operator.

Performs the - operation. Read more

The resulting type after applying the - operator.

Performs the - operation. Read more

The resulting type after applying the - operator.

Performs the - operation. Read more

Performs the -= operation. Read more

Performs the -= operation. Read more

Performs the -= operation. Read more

Performs the -= operation. Read more

Performs the -= operation. Read more

Performs the -= operation. Read more

Performs the -= operation. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.