Functional Tool
@@ -244,6 +244,10 @@ impl Matrix {
}
}
+// =============================================================================
+// Standard Operation for Matrix
+// =============================================================================
+
/// Element-wise addition of Matrix
///
/// # Caution
@@ -331,6 +335,15 @@ impl Mul for Matrix {
//TODO: Implement iterator for Matrix
+// =============================================================================
+// Functional Tools
+// =============================================================================
+pub trait FP {
+ fn map<F>(&self, f: F) -> Matrix where F: Fn(u64) -> u64;
+ fn
+}
+
+
// =============================================================================
// Back-end Utils
// =============================================================================
