Skip to content

RomanShushakov/extended_matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extended matrix

A matrix calculation module.

Example

#[macro_use]
extern crate extended_matrix;

use extended_matrix::{Matrix, BasicOperationsTrait};

let m_1 = Matrix::create(2, 2, &[1.0, 2.0, 3.0, 4.0]);
let m_2 = Matrix::create(2, 2, &[1.0, 2.0, 3.0, 4.0]);

let m_expected_1 = Matrix::create(2, 2, &[2.0, 4.0, 6.0, 8.0]);

assert_eq!(m_1.add(&m_2), Ok(m_expected_1));

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages