Concatenate

Trait Concatenate 

Source
pub trait Concatenate {
    type Output;

    // Required methods
    fn concat_vertical(self, other: Self) -> Result<Self::Output, MathError>;
    fn concat_horizontal(self, other: Self) -> Result<Self::Output, MathError>;
}
Expand description

Is implemented by matrices to concatenate them.

Required Associated Types§

Required Methods§

Source

fn concat_vertical(self, other: Self) -> Result<Self::Output, MathError>

Concatenates self with other vertically.

Parameters:

  • other: the other matrix to concatenate with self
§Errors and Failures
Source

fn concat_horizontal(self, other: Self) -> Result<Self::Output, MathError>

Concatenates self with other horizontally.

Parameters:

  • other: the other matrix to concatenate with self
§Errors and Failures

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§