gslcpp
Modern-C++ Wrapper for GSL
|
Go to the documentation of this file.
16 inline auto *
w_ptr(w_vector<
double> *v, size_t i) {
17 return gsl_vector_ptr(v, i);
26 inline auto const *
w_ptr(w_vector<
double const> *v, size_t i) {
27 return gsl_vector_const_ptr(v, i);
36 inline auto *
w_ptr(w_vector<
float> *v, size_t i) {
37 return gsl_vector_float_ptr(v, i);
46 inline auto const *
w_ptr(w_vector<
float const> *v, size_t i) {
47 return gsl_vector_float_const_ptr(v, i);
56 inline auto *
w_ptr(w_vector<
long double> *v, size_t i) {
57 return gsl_vector_long_double_ptr(v, i);
66 inline auto const *
w_ptr(w_vector<
long double const> *v, size_t i) {
67 return gsl_vector_long_double_const_ptr(v, i);
76 inline auto *
w_ptr(w_vector<
int> *v, size_t i) {
77 return gsl_vector_int_ptr(v, i);
86 inline auto const *
w_ptr(w_vector<
int const> *v, size_t i) {
87 return gsl_vector_int_const_ptr(v, i);
96 inline auto *
w_ptr(w_vector<
unsigned> *v, size_t i) {
97 return gsl_vector_uint_ptr(v, i);
106 inline auto const *
w_ptr(w_vector<
unsigned const> *v, size_t i) {
107 return gsl_vector_uint_const_ptr(v, i);
116 inline auto *
w_ptr(w_vector<
long> *v, size_t i) {
117 return gsl_vector_long_ptr(v, i);
126 inline auto const *
w_ptr(w_vector<
long const> *v, size_t i) {
127 return gsl_vector_long_const_ptr(v, i);
136 inline auto *
w_ptr(w_vector<
unsigned long> *v, size_t i) {
137 return gsl_vector_ulong_ptr(v, i);
146 inline auto const *
w_ptr(w_vector<
unsigned long const> *v, size_t i) {
147 return gsl_vector_ulong_const_ptr(v, i);
156 inline auto *
w_ptr(w_vector<
short> *v, size_t i) {
157 return gsl_vector_short_ptr(v, i);
166 inline auto const *
w_ptr(w_vector<
short const> *v, size_t i) {
167 return gsl_vector_short_const_ptr(v, i);
176 inline auto *
w_ptr(w_vector<
unsigned short> *v, size_t i) {
177 return gsl_vector_ushort_ptr(v, i);
186 inline unsigned short const *
187 w_ptr(w_vector<
unsigned short const> *v, size_t i) {
188 return gsl_vector_ushort_const_ptr(v, i);
197 inline auto *
w_ptr(w_vector<
char> *v, size_t i) {
198 return gsl_vector_char_ptr(v, i);
207 inline auto const *
w_ptr(w_vector<
char const> *v, size_t i) {
208 return gsl_vector_char_const_ptr(v, i);
217 inline auto *
w_ptr(w_vector<
unsigned char> *v, size_t i) {
218 return gsl_vector_uchar_ptr(v, i);
227 inline auto const *
w_ptr(w_vector<
unsigned char const> *v, size_t i) {
228 return gsl_vector_uchar_const_ptr(v, i);
237 inline auto *
w_ptr(w_vector<complex<
double>> *v, size_t i) {
238 return (complex<
double> *)gsl_vector_complex_ptr(v, i);
247 inline auto const *
w_ptr(w_vector<complex<
double>
const> *v, size_t i) {
248 return (complex<
double>
const *)gsl_vector_complex_const_ptr(v, i);
257 inline auto *
w_ptr(w_vector<complex<
float>> *v, size_t i) {
258 return (complex<
float> *)gsl_vector_complex_float_ptr(v, i);
267 inline auto const *
w_ptr(w_vector<complex<
float>
const> *v, size_t i) {
268 return (complex<
float>
const *)gsl_vector_complex_float_const_ptr(v, i);
277 inline auto *
w_ptr(w_vector<complex<
long double>> *v, size_t i) {
278 return (complex<
long double> *)gsl_vector_complex_long_double_ptr(v, i);
287 inline auto const *
w_ptr(w_vector<complex<
long double>
const> *v, size_t i) {
288 return (complex<
long double>
const *)
289 gsl_vector_complex_long_double_const_ptr(v, i);
const auto * w_ptr(w_vector< complex< double > const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
auto * w_ptr(w_vector< long double > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
auto * w_ptr(w_vector< unsigned > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
const auto * w_ptr(w_vector< int const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
const auto * w_ptr(w_vector< complex< long double > const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
const auto * w_ptr(w_vector< unsigned const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
const auto * w_ptr(w_vector< float const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
auto * w_ptr(w_vector< short > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
auto * w_ptr(w_vector< unsigned char > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
const auto * w_ptr(w_vector< unsigned char const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
const auto * w_ptr(w_vector< unsigned long const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
const auto * w_ptr(w_vector< char const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
auto * w_ptr(w_vector< int > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
unsigned const short * w_ptr(w_vector< unsigned short const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
auto * w_ptr(w_vector< float > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
const auto * w_ptr(w_vector< long const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
const auto * w_ptr(w_vector< complex< float > const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
auto * w_ptr(w_vector< complex< float >> *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
const auto * w_ptr(w_vector< short const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
auto * w_ptr(w_vector< long > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
auto * w_ptr(w_vector< unsigned long > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
auto * w_ptr(w_vector< complex< double >> *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
auto * w_ptr(w_vector< complex< long double >> *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
auto * w_ptr(w_vector< double > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
const auto * w_ptr(w_vector< long double const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
auto * w_ptr(w_vector< char > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
Namespace for C++-interface to GSL.
auto * w_ptr(w_vector< unsigned short > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.
const auto * w_ptr(w_vector< double const > *v, size_t i)
Pointer to ith element of vector v, with bounds-checking.