pub fn applyW( x: &MatrixF64, w: &VectorF64, y: &VectorF64, wx: &mut MatrixF64, wy: &mut VectorF64) -> Value