Struct geo_nd::FArray[][src]

pub struct FArray<F: Float, const D: usize> { /* fields omitted */ }
Expand description

The FArray is a wrapper around a D sized array of Floats.

It provides implementations of the traits required for a Vector trait, hence it can be used for a Vector of any size D.

Trait Implementations

The resulting type after applying the + operator.

Performs the + operation. Read more

The resulting type after applying the + operator.

Performs the + operation. Read more

Performs the += operation. Read more

Performs the += operation. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

The resulting type after applying the / operator.

Performs the / operation. Read more

The resulting type after applying the / operator.

Performs the / operation. Read more

Performs the /= operation. Read more

Performs the /= operation. Read more

The returned type after indexing.

Performs the indexing (container[index]) operation. Read more

Performs the mutable indexing (container[index]) operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

Performs the *= operation. Read more

Performs the *= operation. Read more

The resulting type after applying the - operator.

Performs the unary - operation. Read more

Create a SqMatrix from an array of Floats

Create a zero SqMatrix

Create an identity SqMatrix

Return true if the matrix is zer

Set the matrix to zero

Return a transpose matrix

Calculate the determinant of the matrix

Create an inverse matrix

Apply the matrix to a vector to transform it

Create a SqMatrix from an array of Floats

Create a zero SqMatrix

Create an identity SqMatrix

Return true if the matrix is zer

Set the matrix to zero

Return a transpose matrix

Calculate the determinant of the matrix

Create an inverse matrix

Apply the matrix to a vector to transform it

Create a SqMatrix from an array of Floats

Create a zero SqMatrix

Create an identity SqMatrix

Return true if the matrix is zer

Set the matrix to zero

Return a transpose matrix

Calculate the determinant of the matrix

Create an inverse matrix

Apply the matrix to a vector to transform it

The resulting type after applying the - operator.

Performs the - operation. Read more

The resulting type after applying the - operator.

Performs the - operation. Read more

Performs the -= operation. Read more

Performs the -= operation. Read more

Create a vector from an array of Float

Create a vector whose elements are all zero

Return true if the vector is all zeros

Set the vector to be all zeros

Create a linear combination of this Vector and another using parameter t from zero to one

Sum all of the components of the vector

Return the dot product of two vectors

Return the square of the length of the vector

Return the length of the vector

Return the square of the distance between this vector and another

Return the distance between this vector and another

Normalize the vector; if its length is close to zero, then set it to be zero

Rotate a vector within a plane around a pivot point by the specified angle 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

Performs the conversion.

Performs the conversion.

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)

recently added

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

Converts the given value to a String. 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.