Skip to content

Commit bc0ed7a

Browse files
committed
Merge branch 'v0.2'
2 parents 047ddf7 + cb88bf7 commit bc0ed7a

File tree

17 files changed

+74
-64
lines changed

17 files changed

+74
-64
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ndarray-linalg"
3-
version = "0.1.6"
3+
version = "0.2.0"
44
authors = ["Toshiki Teramura <[email protected]>"]
55

66
description = "Linear algebra package for rust-ndarray using LAPACK"

src/hermite.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
use ndarray::{Ix2, Array, RcArray};
44
use lapack::c::Layout;
55

6-
use matrix::{Matrix, MFloat};
7-
use square::SquareMatrix;
8-
use error::LinalgError;
9-
use eigh::ImplEigh;
10-
use cholesky::ImplCholesky;
6+
use super::matrix::{Matrix, MFloat};
7+
use super::square::SquareMatrix;
8+
use super::error::LinalgError;
9+
use super::impls::eigh::ImplEigh;
10+
use super::impls::cholesky::ImplCholesky;
1111

1212
pub trait HMFloat: ImplEigh + ImplCholesky + MFloat {}
1313
impl<A: ImplEigh + ImplCholesky + MFloat> HMFloat for A {}

src/cholesky.rs renamed to src/impls/cholesky.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//! Implements cholesky decomposition
12
23
use lapack::c::*;
34
use error::LapackError;
File renamed without changes.

src/impls/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//! Implement trait bindings of LAPACK
2+
pub mod outer;
3+
pub mod qr;
4+
pub mod svd;
5+
pub mod eigh;
6+
pub mod opnorm;
7+
pub mod solve;
8+
pub mod cholesky;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)