#[repr(C)]pub struct cvec_t {
pub length: uint_t,
pub norm: *mut smpl_t,
pub phas: *mut smpl_t,
}Expand description
Vector of real-valued phase and spectrum data
\code
uint_t buffer_size = 1024;
cvec_t * input = new_cvec (buffer_size);
input->norm[23] = 2.; input->phas[23] = M_PI;
mean = cvec_mean(input);
del_cvec (input);
\endcode
Fields§
§length: uint_t< length of buffer = (requested length)/2 + 1
norm: *mut smpl_t< norm array of size ::cvec_t.length
phas: *mut smpl_t< phase array of size ::cvec_t.length
Trait Implementations§
Auto Trait Implementations§
impl Freeze for cvec_t
impl RefUnwindSafe for cvec_t
impl !Send for cvec_t
impl !Sync for cvec_t
impl Unpin for cvec_t
impl UnwindSafe for cvec_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more