Skip to Main Content
Introduction to Computational Modeling Using C and Open-Source Tools
book

Introduction to Computational Modeling Using C and Open-Source Tools

by Jose M. Garrido
November 2013
Intermediate to advanced content levelIntermediate to advanced
461 pages
12h 1m
English
CRC Press
Content preview from Introduction to Computational Modeling Using C and Open-Source Tools
Chapter 17
Using Vectors with the GSL
17.1 Introduction
This chapter presents an overview of vectors, implementation techniques with
programming in C and the GSL, and a summary of computing with vectors. In gen-
eral, an array is a term used in programming and defined as a data structure that is
a collection of values and these values are organized in several ways. The follow-
ing arrays: X, Y , and Z have their data arranged in different manners. Array X is a
one-dimensional array with n elements and it is considered a row vector because its
elements x
1
,x
2
,.. .,x
n
are arranged in a single row.
X = [x
1
x
2
x
3
··· x
n
] Z =
z
1
z
2
z
3
.
.
.
z
m
Array Z is also ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computer Fundamentals and Programming in C (RMK)

Computer Fundamentals and Programming in C (RMK)

Anita Goel, Ajay Mittal

Publisher Resources

ISBN: 9781482216783