Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Linear Algebra Module User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

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++ data type 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 DocumentContentsIndex pageNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.