pub struct Space1<B0> {
    pub base0: B0,
}
Expand description

Create two-dimensional space

Fields

base0: B0

Implementations

Create a new space

Trait Implementations

Array of coordinates

Coordinates of grid points (in physical space)

Arguments
  • axis - usize

Return base key

Return transform kind

Real valued scalar type

Array of coordinates

Coordinates of grid points (in physical space)

Arguments
  • axis - usize

Return base key

Return transform kind

Real valued scalar type

Array of coordinates

Coordinates of grid points (in physical space)

Arguments
  • axis - usize

Return base key

Return transform kind

Real valued scalar type

Transformation from composite and to orthonormal space (inplace).

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of spectral space

Transformation from orthonormal and to composite space (inplace).

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of spectral space

Transformation from composite and to orthonormal space (inplace).

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of spectral space

Transformation from orthonormal and to composite space (inplace).

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of spectral space

Transformation from composite and to orthonormal space. Read more

Transformation from orthonormal and to composite space. Read more

Transformation from composite and to orthonormal space. Read more

Transformation from orthonormal and to composite space. Read more

Transformation from composite and to orthonormal space (inplace).

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of spectral space

Transformation from orthonormal and to composite space (inplace).

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of spectral space

Transformation from composite and to orthonormal space (inplace).

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of spectral space

Transformation from orthonormal and to composite space (inplace).

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of spectral space

Transformation from composite and to orthonormal space. Read more

Transformation from orthonormal and to composite space. Read more

Transformation from composite and to orthonormal space. Read more

Transformation from orthonormal and to composite space. Read more

Transformation from composite and to orthonormal space (inplace).

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of spectral space

Transformation from orthonormal and to composite space (inplace).

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of spectral space

Transformation from composite and to orthonormal space (inplace).

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of spectral space

Transformation from orthonormal and to composite space (inplace).

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of spectral space

Transformation from composite and to orthonormal space. Read more

Transformation from orthonormal and to composite space. Read more

Transformation from composite and to orthonormal space. Read more

Transformation from orthonormal and to composite space. Read more

Take gradient. Optional: Rescale result by a constant.

Arguments
  • input - ndarray with num type of spectral space
  • deriv - [usize; N], derivative along each axis
  • scale - [float; N], scaling factor along each axis (default [1.;n])

Take gradient. Optional: Rescale result by a constant.

Arguments
  • input - ndarray with num type of spectral space
  • deriv - [usize; N], derivative along each axis
  • scale - [float; N], scaling factor along each axis (default [1.;n])

Take gradient. Optional: Rescale result by a constant.

Arguments
  • input - ndarray with num type of spectral space
  • deriv - [usize; N], derivative along each axis
  • scale - [float; N], scaling factor along each axis (default [1.;n])

Take gradient. Optional: Rescale result by a constant.

Arguments
  • input - ndarray with num type of spectral space
  • deriv - [usize; N], derivative along each axis
  • scale - [float; N], scaling factor along each axis (default [1.;n])

Take gradient. Optional: Rescale result by a constant.

Arguments
  • input - ndarray with num type of spectral space
  • deriv - [usize; N], derivative along each axis
  • scale - [float; N], scaling factor along each axis (default [1.;n])

Take gradient. Optional: Rescale result by a constant.

Arguments
  • input - ndarray with num type of spectral space
  • deriv - [usize; N], derivative along each axis
  • scale - [float; N], scaling factor along each axis (default [1.;n])

Scalar type of laplacian matrix

Laplacian L

L_pinv @ L = I_pinv
Arguments
  • axis - usize

Pseudoinverse matrix L_pinv of Laplacian

Returns (L_pinv, I_pinv)

L_pinv @ L = I_pinv
Arguments
  • axis - usize

Scalar type of laplacian matrix

Laplacian L

L_pinv @ L = I_pinv
Arguments
  • axis - usize

Pseudoinverse matrix L_pinv of Laplacian

Returns (L_pinv, I_pinv)

L_pinv @ L = I_pinv
Arguments
  • axis - usize

Scalar type of laplacian matrix

Laplacian L

L_pinv @ L = I_pinv
Arguments
  • axis - usize

Pseudoinverse matrix L_pinv of Laplacian

Returns (L_pinv, I_pinv)

L_pinv @ L = I_pinv
Arguments
  • axis - usize

Scalar type of laplacian matrix

Transformation stencil

Multiplication of this matrix with a coefficient vector has the same effect as BaseSpaceFromOrtho::to_ortho(), but is less efficient.

Returns identity matrix for orthogonal bases

Arguments
  • axis - usize

Inverse of transformation stencil

Multiplication of this matrix with a coefficient vector has the same effect as BaseSpaceFromOrtho::from_ortho(), but is less efficient.

Returns identity matrix for orthogonal bases

Arguments
  • axis - usize

Scalar type of laplacian matrix

Transformation stencil

Multiplication of this matrix with a coefficient vector has the same effect as BaseSpaceFromOrtho::to_ortho(), but is less efficient.

Returns identity matrix for orthogonal bases

Arguments
  • axis - usize

Inverse of transformation stencil

Multiplication of this matrix with a coefficient vector has the same effect as BaseSpaceFromOrtho::from_ortho(), but is less efficient.

Returns identity matrix for orthogonal bases

Arguments
  • axis - usize

Scalar type of laplacian matrix

Transformation stencil

Multiplication of this matrix with a coefficient vector has the same effect as BaseSpaceFromOrtho::to_ortho(), but is less efficient.

Returns identity matrix for orthogonal bases

Arguments
  • axis - usize

Inverse of transformation stencil

Multiplication of this matrix with a coefficient vector has the same effect as BaseSpaceFromOrtho::from_ortho(), but is less efficient.

Returns identity matrix for orthogonal bases

Arguments
  • axis - usize

Shape of physical space

Shape of spectral space

Shape of spectral space (orthogonal bases)

Return array from shape

Shape of physical space

Shape of spectral space

Shape of spectral space (orthogonal bases)

Return array from shape

Shape of physical space

Shape of spectral space

Shape of spectral space (orthogonal bases)

Return array from shape

Transform physical -> spectral space (inplace)

Arguments
  • input - ndarray with num type of physical space
  • output - ndarray with num type of spectral space

Transform spectral -> physical space (inplace)

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of physical space

Transform physical -> spectral space (inplace)

Arguments
  • input - ndarray with num type of physical space
  • output - ndarray with num type of spectral space

Transform spectral -> physical space (inplace)

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of physical space

Return array where size and type matches physical field

Return array where size and type matches spectral field

Transform physical -> spectral space Read more

Transform spectral -> physical space Read more

Transform physical -> spectral space Read more

Transform spectral -> physical space Read more

Transform physical -> spectral space (inplace)

Arguments
  • input - ndarray with num type of physical space
  • output - ndarray with num type of spectral space

Transform spectral -> physical space (inplace)

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of physical space

Transform physical -> spectral space (inplace)

Arguments
  • input - ndarray with num type of physical space
  • output - ndarray with num type of spectral space

Transform spectral -> physical space (inplace)

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of physical space

Return array where size and type matches physical field

Return array where size and type matches spectral field

Transform physical -> spectral space Read more

Transform spectral -> physical space Read more

Transform physical -> spectral space Read more

Transform spectral -> physical space Read more

Transform physical -> spectral space (inplace)

Arguments
  • input - ndarray with num type of physical space
  • output - ndarray with num type of spectral space

Transform spectral -> physical space (inplace)

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of physical space

Transform physical -> spectral space (inplace)

Arguments
  • input - ndarray with num type of physical space
  • output - ndarray with num type of spectral space

Transform spectral -> physical space (inplace)

Arguments
  • input - ndarray with num type of spectral space
  • output - ndarray with num type of physical space

Return array where size and type matches physical field

Return array where size and type matches spectral field

Transform physical -> spectral space Read more

Transform spectral -> physical space Read more

Transform physical -> spectral space Read more

Transform spectral -> physical space Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.