\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 5.0.4 - CGAL and Solvers
SparseLinearAlgebraTraits_d::Vector Concept Reference

Definition

Types

typedef unspecified_type NT
 
typedef unspecified_type Index
 Index type.
 

Creation

 Vector (Index rows)
 Create a vector initialized with zeros.
 
 Vector (const Vector &toCopy)
 Copy constructor.
 

Operations

Index dimension () const
 Return the vector's number of coefficients.
 
NT operator[] (Index row) const
 Read/write access to a vector coefficient. More...
 
NToperator[] (Index row)
 

Member Function Documentation

◆ operator[]()

NT SparseLinearAlgebraTraits_d::Vector::operator[] ( Index  row) const

Read/write access to a vector coefficient.

Precondition
0 <= row < dimension().