Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
criterion_stats::bivariate::regression::Slope - Rust
[go: Go Back, main page]

Struct criterion_stats::bivariate::regression::Slope [] [src]

pub struct Slope<A>(pub A)
where
    A: Floaty
;

A straight line that passes through the origin y = m * x

Methods

impl<A> Slope<A> where
    A: Floaty
[src]

[src]

Fits the data to a straight line that passes through the origin using ordinary least squares

  • Time: O(length)

[src]

Computes the goodness of fit (coefficient of determination) for this data set

  • Time: O(length)

Trait Implementations

impl<A: Clone> Clone for Slope<A> where
    A: Floaty
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<A: Copy> Copy for Slope<A> where
    A: Floaty
[src]