fn from()

in gad/src/matrix.rs [64:83]


        fn from(p: MatProp) -> af::MatProp {
            match p {
                MatProp {
                    transposed: false,
                    conjugated: false,
                } => af::MatProp::NONE,
                MatProp {
                    transposed: true,
                    conjugated: false,
                } => af::MatProp::TRANS,
                MatProp {
                    transposed: false,
                    conjugated: true,
                } => af::MatProp::CONJ,
                MatProp {
                    transposed: true,
                    conjugated: true,
                } => af::MatProp::CTRANS,
            }
        }