Skip to content

Instantly share code, notes, and snippets.

View DiamondLovesYou's full-sized avatar

Richard Diamond DiamondLovesYou

View GitHub Profile

This is kinda a reply to /u/HeroesGrave's reply. Over the past year+, I've put a lot of thought into creating a solid GUI library. I know I'm kinda late to the party (until now, I hadn't written this down, other than what been coded), nonetheless here are my thoughts.

Some areas I've left kinda vague, hoping that readers would be able to extrapolate. Feel free to fork/PR, comment, critique etc.

Goals

main.rs

type Mat = [[f64; 4]; 3];
const P: Option<f64> = Some(0.1);

fn chopped(exact: f64, p: Option<f64>) -> f64 {
    if let Some(p) = p {
        let exact = exact * (1.0 + p);

Exercise2_13.m

A = [1 2 3; 4 5 6; 7 8 9.01];
[A2, success, pivots, cond] = Factor(A);

[m,n] = size(A2);
x = zeros(m, 1);
DEBUG:cargo::update: executing; cmd=cargo-update; args=["cargo", "update"]
DEBUG:cargo::core::registry: load/missing file:///home/dick/Dropbox/workspace/cargo-bug
DEBUG:cargo::core::registry: load/missing registry https://github.com/rust-lang/crates.io-index
DEBUG:cargo::core::registry: load/precise registry https://github.com/rust-lang/crates.io-index
DEBUG:cargo::core::registry: load/precise registry https://github.com/rust-lang/crates.io-index
DEBUG:cargo::core::registry: load/precise registry https://github.com/rust-lang/crates.io-index
DEBUG:cargo::core::registry: load/precise registry https://github.com/rust-lang/crates.io-index
DEBUG:cargo::core::registry: load/precise registry https://github.com/rust-lang/crates.io-index
DEBUG:cargo::core::registry: load/precise registry https://github.com/rust-lang/crates.io-index
DEBUG:cargo::core::registry: load/precise registry https://github.com/rust-lang/crates.io-index