pub struct Cpk {
pub cpk: f64,
pub ca: f64,
pub cp: f64,
pub usl: f64,
pub lsl: f64,
pub stddev: f64,
pub avg: f64,
pub max: f64,
pub min: f64,
}Expand description
制程能力指标
Fields§
§cpk: f64制程能力
ca: f64制程准确度
cp: f64制程精密度
usl: f64规格上限
lsl: f64规格下限
stddev: f64标准差
avg: f64平均值
max: f64最大值
min: f64最小值
Implementations§
Source§impl Cpk
impl Cpk
Sourcepub fn new<T: Display + Debug>(usl: f64, lsl: f64, array: Vec<T>) -> Self
pub fn new<T: Display + Debug>(usl: f64, lsl: f64, array: Vec<T>) -> Self
初始化
- usl 上限值
- lsl 下限值
- array 数据
pub fn cpk_rating_criteria(&self) -> (&'static str, &'static str)
pub fn ca_rating_criteria(&self) -> (&'static str, &'static str)
pub fn cp_rating_criteria(&self) -> (&'static str, &'static str)
Auto Trait Implementations§
impl Freeze for Cpk
impl RefUnwindSafe for Cpk
impl Send for Cpk
impl Sync for Cpk
impl Unpin for Cpk
impl UnwindSafe for Cpk
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more