Skip to content

Commit

Permalink
removed deferred ricci calculus feature for future work, removed nigh…
Browse files Browse the repository at this point in the history
…tly feature
  • Loading branch information
exbibyte committed Nov 17, 2023
1 parent d7253f9 commit e630290
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 262 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

A pedagogical attempt at auto-differentiation. This is based on the autograd package and other variations of it as well as literature references (eg: The Art of Differentiating Computer Programs, An Introduction to Algorithmic Differentiation – Uwe Naumann).

Work in progress..

# Note:
- currently depends on Rust nightly

# Support:
- forward mode
- reverse mode
Expand Down
2 changes: 1 addition & 1 deletion src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub struct PtrVWrap(pub Rc<RefCell<VWrap>>);
impl Hash for PtrVWrap {
fn hash<H: Hasher>(&self, state: &mut H) {
let p = Rc::downgrade(&self.0);
(Weak::as_raw(&p) as usize).hash(state);
(p.as_ptr() as usize).hash(state);
}
}

Expand Down
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
// #[macro_use(s)]
// pub use ndarray;
#![feature(weak_into_raw)]

#[cfg(test)]
#[macro_use]
extern crate lazy_static;

mod core;
mod ricci;
mod valtype;

mod interface {
pub use crate::core::{Add, Cos, Div, Exp, Leaf, Ln, Mul, Pow, Sin, Tan};
pub use crate::ricci::*;
pub use crate::valtype::ValType;
}

Expand Down
253 changes: 0 additions & 253 deletions src/ricci.rs

This file was deleted.

0 comments on commit e630290

Please sign in to comment.