Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

NI_vector Struct Reference

#include <niml.h>


Data Fields

 NI_BASIC_PARTS
NI_index_t vec_len
int vec_typ
void * vec
void * vec_range
NI_statisticstatistic

Detailed Description

NI struct to hold a vector of values:
  • vec_len = number of values
  • vec_typ = type of values (e.g., NI_FLOAT, etc.)
  • vec = pointer to array of data of length vec_len
  • vec_range = pointer to array of length 2 (if not NULL):
    • vec_range[0] = smallest value in vec
    • vec_range[1] = largest value in vec
  • statistic = defines statistical distribution for these values (if not NULL)
  • the size in bytes of each element of vec can be determined by NI_datatype_size(vec_typ) -----------------------------------------------------------------------------

Definition at line 810 of file niml.h.


Field Documentation

NI_vector::NI_BASIC_PARTS
 

Definition at line 811 of file niml.h.

NI_statistic* NI_vector::statistic
 

Definition at line 816 of file niml.h.

Referenced by NI_dataset_transpose(), NI_free_struct(), and NI_new_vector().

void* NI_vector::vec
 

Definition at line 814 of file niml.h.

Referenced by NI_dataset_transpose(), NI_free_struct(), NI_new_vector(), and NI_set_vector_range().

NI_index_t NI_vector::vec_len
 

Definition at line 812 of file niml.h.

Referenced by NI_set_vector_range().

void* NI_vector::vec_range
 

Definition at line 815 of file niml.h.

Referenced by NI_free_struct(), NI_new_vector(), and NI_set_vector_range().

int NI_vector::vec_typ
 

Definition at line 813 of file niml.h.

Referenced by NI_dataset_transpose(), NI_new_vector(), and NI_set_vector_range().


The documentation for this struct was generated from the following file:
 

Powered by Plone

This site conforms to the following standards: