Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

9.1 Function operator()(int, int)

This chapter describes how the function operator()(int,int) works for the different matrix types. Basically, for all matrix types, the function operator()(int,int) returns a reference to an element of the matrix. This reference can be used as a right-side value, like this:

or as a left-side value (lvalue), like this:

What C++ datatype does operator()(int,int) return? We consider only the double precision matrix types in the following sections; the rest work exactly the same way.


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.