fvec_t class final
Buffer for real data
Vector of real-valued data
::fvec_t is is the structure used to store vector of real-valued data, ::smpl_t .
\code
uint_t buffer_size = 1024;
// create a vector of 512 values fvec_t * input = new_fvec (buffer_size);
// set some values of the vector
input->data23
= 2.;
// ..
// compute the mean of the vector mean = fvec_mean(a_vector);
// destroy the vector del_fvec(a_vector);
\endcode
See examples/
and tests/src
directories for more examples.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter -
data
↔ Pointer<
smpl_t> -
< data vector of length ::fvec_t.length
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- length ↔ int
-
< length of buffer
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited