Crate floatx4

Source
Expand description

Used to express the combination of four float numbers.

§Examples

use floatx4::Floatx4;

// let array = Floatx4::from_scalar(2.);
let array = Floatx4::from_array([1.,2.,3.,4.]);

// +,-,*,/ ...
let mut new_array = array * array ;
new_array+=array;

// print
for value in new_array{
    println!("{value:?}");
}

Structs§

Floatx4

Type Aliases§

Float