pub trait VectorTranscendental<T: Transcendental, const N: usize>: Vector<T, N> {
// 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§
fn sqrt(&self) -> Self
fn exp(&self) -> Self
fn ln(&self) -> Self
fn sin(&self) -> Self
fn cos(&self) -> Self
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§
impl VectorTranscendental<f32, 4> for rill_core::math::vector::simd::wide::F32x4
Available on (x86 or x86-64) and crate feature
simd only.impl VectorTranscendental<f32, 4> for rill_core::math::vector::simd::x86::F32x4
Available on x86 or x86-64 only.
impl VectorTranscendental<f32, 8> for F32x8
Available on (x86 or x86-64) and crate feature
simd only.impl VectorTranscendental<f64, 2> for F64x2
Available on (x86 or x86-64) and crate feature
simd only.impl VectorTranscendental<f64, 4> for F64x4
Available on (x86 or x86-64) and crate feature
simd only.