Skip to main content

VectorTranscendental

Trait VectorTranscendental 

Source
pub trait VectorTranscendental<T, const N: usize>: Vector<T, N>
where T: Transcendental,
{ // Required methods fn sqrt(&self) -> Self; fn exp(&self) -> Self; fn ln(&self) -> Self; fn sin(&self) -> Self; fn cos(&self) -> Self; fn tan(&self) -> Self; }
Expand description

Трейт для векторных типов с трансцендентными операциями.

Доступен только для T: Transcendental (f32, f64).

Required Methods§

Source

fn sqrt(&self) -> Self

Source

fn exp(&self) -> Self

Source

fn ln(&self) -> Self

Source

fn sin(&self) -> Self

Source

fn cos(&self) -> Self

Source

fn tan(&self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§