pub struct TensorPSplineTerm { /* private fields */ }Expand description
Tensor-product P-spline term options.
Implementations§
Source§impl TensorPSplineTerm
impl TensorPSplineTerm
Sourcepub fn k(self, left: usize, right: usize) -> Self
pub fn k(self, left: usize, right: usize) -> Self
Sets basis counts for the left and right axes.
Sourcepub fn order(self, left: SplineOrder, right: SplineOrder) -> Self
pub fn order(self, left: SplineOrder, right: SplineOrder) -> Self
Sets spline orders for the left and right axes.
Trait Implementations§
Source§impl<Rhs> Add<Rhs> for TensorPSplineTerm
impl<Rhs> Add<Rhs> for TensorPSplineTerm
Source§impl Add<TensorPSplineTerm> for TermExpr
impl Add<TensorPSplineTerm> for TermExpr
Source§impl Clone for TensorPSplineTerm
impl Clone for TensorPSplineTerm
Source§fn clone(&self) -> TensorPSplineTerm
fn clone(&self) -> TensorPSplineTerm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TensorPSplineTerm
impl Debug for TensorPSplineTerm
Source§impl From<TensorPSplineTerm> for TermExpr
impl From<TensorPSplineTerm> for TermExpr
Source§fn from(value: TensorPSplineTerm) -> Self
fn from(value: TensorPSplineTerm) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TensorPSplineTerm
impl PartialEq for TensorPSplineTerm
Source§fn eq(&self, other: &TensorPSplineTerm) -> bool
fn eq(&self, other: &TensorPSplineTerm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TensorPSplineTerm
Auto Trait Implementations§
impl Freeze for TensorPSplineTerm
impl RefUnwindSafe for TensorPSplineTerm
impl Send for TensorPSplineTerm
impl Sync for TensorPSplineTerm
impl Unpin for TensorPSplineTerm
impl UnsafeUnpin for TensorPSplineTerm
impl UnwindSafe for TensorPSplineTerm
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